diff options
author | ache <ache@ache.one> | 2018-02-02 14:34:40 +0100 |
---|---|---|
committer | ache <ache@ache.one> | 2018-02-05 06:22:08 +0100 |
commit | bf8c3c993209214727ef84aae63d3c026b09ce1a (patch) | |
tree | b06ff90c5ceab88d69b67d9fe8a725fbbeaf134b /config.fish | |
parent | Merge branch 'master' of git.ache.one:git/fish (diff) |
Fix no node dir
Diffstat (limited to 'config.fish')
-rw-r--r-- | config.fish | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/config.fish b/config.fish index 8371fbd..acf5482 100644 --- a/config.fish +++ b/config.fish @@ -2,7 +2,10 @@ export VISUAL=vim export EDITOR=vim -export PATH="$PATH:$HOME/.node_modules/bin" + +if [ -d "$HOME/.node_modules/bin" ] + export PATH="$PATH:$HOME/.node_modules/bin" +end # alias gobjc='gcc -L /usr/lib/GNUstep/Libraries/gnustep-base -lgnustep-base -fconstant-string-class=NSConstantString' # alias smpd='ssh achessh@ache.one -fp 21 ssh ache@localhost -p 60065 -L 8091:localhost:8091 -fN' |