Make dirfile loading less errorprone
This commit is contained in:
parent
b96ee9511f
commit
3b385fdf19
2 changed files with 5 additions and 3 deletions
5
zshrc
5
zshrc
|
@ -25,6 +25,11 @@ zdotfile() {
|
|||
fi
|
||||
}
|
||||
|
||||
local dirfile=$(zdotfile dirs)
|
||||
if [[ -e $dirfile ]]; then
|
||||
source $dirfile
|
||||
fi
|
||||
|
||||
. $(zdotfile completion.zsh)
|
||||
source $(zdotfile zplug.zsh)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue