dotfiles/modules/shell/files/.zshrc

31 lines
681 B
Bash

# Path to oh-my-zsh installation.
export ZSH=/usr/share/oh-my-zsh/
# Plugins
plugins=(
django
pip
pyenv
python
common-aliases
zsh-completions
extract
heroku
)
source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
export fpath=(/usr/share/zsh/site-functions $fpath)
# Enable oh-my-zsh
source $ZSH/oh-my-zsh.sh
autoload -U compinit && compinit
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%}$ "
COMPLETION_WAITING_DOTS="true"
alias src="source $HOME/.zshrc"