dotfiles/modules/shell/files/.zshrc

31 lines
570 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
jsontools
nyan
pip
pyenv
python
common-aliases
gitfast
zsh-completions
extract
)
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"