fixed loading of localcommands file
This commit is contained in:
parent
848f3edcb9
commit
e67f1b35ff
1 changed files with 4 additions and 3 deletions
7
.zshrc
7
.zshrc
|
@ -1,6 +1,5 @@
|
||||||
# If you come from bash you might have to change your $PATH.
|
# If you come from bash you might have to change your $PATH.
|
||||||
# export PATH=$HOME/bin:/usr/local/bin:$PATH
|
# export PATH=$HOME/bin:/usr/local/bin:$PATH
|
||||||
|
|
||||||
# Path to your oh-my-zsh installation.
|
# Path to your oh-my-zsh installation.
|
||||||
export ZSH="/Users/jan/.oh-my-zsh"
|
export ZSH="/Users/jan/.oh-my-zsh"
|
||||||
|
|
||||||
|
@ -99,7 +98,9 @@ source $ZSH/oh-my-zsh.sh
|
||||||
alias ll='ls -l'
|
alias ll='ls -l'
|
||||||
alias vi='vim'
|
alias vi='vim'
|
||||||
alias la='ls -la'
|
alias la='ls -la'
|
||||||
if [ -e ".localcommands" ]
|
if [ -f ~/.dotfiles/.localcommands ]
|
||||||
then
|
then
|
||||||
bash .localcommands
|
source ~/.dotfiles/.localcommands
|
||||||
|
else
|
||||||
|
echo "not found"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue