makes zsh to default shell if installed

This commit is contained in:
2016-04-23 20:04:08 +02:00
parent ace6ef45b6
commit 807357131a
2 changed files with 4 additions and 1 deletions

View File

@@ -2,6 +2,9 @@
# If not running interactively, don't do anything
[ -z "$PS1" ] && return
# switch to zsh if installed
[ -z "$ZSH_VERSION" ] && export SHELL=/bin/zsh && exec /bin/zsh -l
# path
PATH=$PATH:$HOME/bin:

2
.zshrc
View File

@@ -49,7 +49,7 @@ ZSH_THEME="cobalt2"
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup.
plugins=(git)
plugins=(git docker)
# User configuration