zshrc: fix first run things
This commit is contained in:
parent
2d9b66a097
commit
3fed5bc4eb
1 changed files with 2 additions and 2 deletions
|
@ -1,10 +1,10 @@
|
|||
if [[ -z "~/.zsh" ]]; then
|
||||
if [[ ! -d "$HOME/.zsh" ]]; then
|
||||
mkdir -p ~/.zsh
|
||||
fi
|
||||
|
||||
fpath=(~/.zsh $fpath)
|
||||
|
||||
if [[ -z "~/.zsh/gitstatus" ]]; then
|
||||
if [[ ! -d "$HOME/.zsh/gitstatus" ]]; then
|
||||
git clone --depth=1 https://github.com/romkatv/gitstatus.git ~/.zsh/gitstatus
|
||||
fi
|
||||
source ~/.zsh/gitstatus/gitstatus.plugin.zsh
|
||||
|
|
Loading…
Reference in a new issue