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.
|
||||
# export PATH=$HOME/bin:/usr/local/bin:$PATH
|
||||
|
||||
# Path to your oh-my-zsh installation.
|
||||
export ZSH="/Users/jan/.oh-my-zsh"
|
||||
|
||||
|
@ -99,7 +98,9 @@ source $ZSH/oh-my-zsh.sh
|
|||
alias ll='ls -l'
|
||||
alias vi='vim'
|
||||
alias la='ls -la'
|
||||
if [ -e ".localcommands" ]
|
||||
if [ -f ~/.dotfiles/.localcommands ]
|
||||
then
|
||||
bash .localcommands
|
||||
source ~/.dotfiles/.localcommands
|
||||
else
|
||||
echo "not found"
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue