makes zsh to default shell if installed
This commit is contained in:
@@ -2,6 +2,9 @@
|
|||||||
# If not running interactively, don't do anything
|
# If not running interactively, don't do anything
|
||||||
[ -z "$PS1" ] && return
|
[ -z "$PS1" ] && return
|
||||||
|
|
||||||
|
# switch to zsh if installed
|
||||||
|
[ -z "$ZSH_VERSION" ] && export SHELL=/bin/zsh && exec /bin/zsh -l
|
||||||
|
|
||||||
# path
|
# path
|
||||||
PATH=$PATH:$HOME/bin:
|
PATH=$PATH:$HOME/bin:
|
||||||
|
|
||||||
|
|||||||
2
.zshrc
2
.zshrc
@@ -49,7 +49,7 @@ ZSH_THEME="cobalt2"
|
|||||||
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
|
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
|
||||||
# Example format: plugins=(rails git textmate ruby lighthouse)
|
# Example format: plugins=(rails git textmate ruby lighthouse)
|
||||||
# Add wisely, as too many plugins slow down shell startup.
|
# Add wisely, as too many plugins slow down shell startup.
|
||||||
plugins=(git)
|
plugins=(git docker)
|
||||||
|
|
||||||
# User configuration
|
# User configuration
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user