dotfiles/modules/shell/files/.zshrc

32 lines
681 B
Bash
Raw Normal View History

2017-11-05 21:33:48 +00:00
# Path to oh-my-zsh installation.
2016-11-19 22:04:40 +00:00
export ZSH=/usr/share/oh-my-zsh/
# Plugins
2017-11-05 21:52:26 +00:00
plugins=(
django
pip
pyenv
python
common-aliases
zsh-completions
extract
2018-08-24 09:10:29 +01:00
heroku
2017-11-05 21:52:26 +00:00
)
2017-11-05 21:33:48 +00:00
2017-12-24 16:09:53 +00:00
source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
export fpath=(/usr/share/zsh/site-functions $fpath)
2017-11-05 21:33:48 +00:00
# Enable oh-my-zsh
source $ZSH/oh-my-zsh.sh
2016-11-19 22:04:40 +00:00
2017-02-26 20:56:48 +00:00
autoload -U compinit && compinit
2016-11-19 22:04:40 +00:00
autoload -Uz colors && colors
local ret_status="%(?:%{$fg_bold[green]%}λ :%{$fg_bold[red]%}λ )"
export PROMPT="${ret_status} %{$fg_bold[green]%}%n@%m%{$reset_color%}:%{$fg_bold[blue]%}%~%{$reset_color%}$ "
2017-04-19 09:29:52 +01:00
COMPLETION_WAITING_DOTS="true"
2016-11-19 22:04:40 +00:00
alias src="source $HOME/.zshrc"