dotfiles/files/zshrc/.zshrc

36 lines
820 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=(
2018-10-03 18:51:27 +01:00
django
pip
pyenv
python
common-aliases
extract
heroku
2017-11-05 21:52:26 +00:00
)
2017-11-05 21:33:48 +00:00
2018-10-03 17:48:39 +01:00
export COMPLETION_WAITING_DOTS="true"
2017-12-24 16:09:53 +00:00
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
2018-10-03 17:48:39 +01:00
source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
export fpath=(/usr/share/zsh/site-functions $fpath)
2016-11-19 22:04:40 +00:00
2018-10-03 17:48:39 +01:00
autoload -U compinit && rm -f ~/.zcompdump && compinit
2016-11-19 22:04:40 +00:00
autoload -Uz colors && colors
2018-10-03 17:48:39 +01:00
2016-11-19 22:04:40 +00:00
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%}$ "
alias src="source $HOME/.zshrc"
2018-09-10 20:08:35 +01:00
{% include "base.sh" %}
{% include "environment.sh" %}
{% include "applications.sh" %}
{% include "catfish.sh" %}
{% include "javascript.sh" %}