From c1ad9cd835ff4d6eb85a4c3c3d1b4372f41b090b Mon Sep 17 00:00:00 2001 From: John Doty Date: Tue, 6 Nov 2018 20:00:48 +0000 Subject: [PATCH] Only add buck bin if it exists --- .config/fish/config.fish | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.config/fish/config.fish b/.config/fish/config.fish index 4be23f9..c37eb0c 100644 --- a/.config/fish/config.fish +++ b/.config/fish/config.fish @@ -1,5 +1,8 @@ if status --is-login - set PATH $PATH ~/bin ~/devtools/buck/bin + set PATH $PATH ~/bin + if test -d ~/devtools/buck/bin + set PATH $PATH ~/devtools/buck/bin + end end # export EDITOR=ec