test for file existence before sourcing

pull/1/head
Andrew Coleman 2019-01-01 23:10:46 +00:00
parent be7c6afe3f
commit b94a26dbab
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
. $HOME/.kerl/installs/21.0/activate test -s "$HOME/.kerl/installs/21.0/activate" && source "$HOME/.kerl/installs/21.0/activate"

View File

@ -1,2 +1,2 @@
test -s "$HOME/.kiex/scripts/kiex" && source "$HOME/.kiex/scripts/kiex" test -s "$HOME/.kiex/scripts/kiex" && source "$HOME/.kiex/scripts/kiex"
source $HOME/.kiex/elixirs/elixir-1.7.4.env test -s "$HOME/.kiex/elixirs/elixir-1.7.4.env" && source "$HOME/.kiex/elixirs/elixir-1.7.4.env"