dotfiles/modules/shell/files/.zshrc

25 lines
647 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:33:48 +00:00
plugins=(django pip pyenv python common-aliases gitfast zsh-completions extract)
# 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
# You may need to manually set your language environment
export LANG=en_GB.UTF-8
# Compilation flags
export ARCHFLAGS="-arch x86_64"
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"