Redirect all output to /dev/null, not just stdout

This commit is contained in:
Charles Treatman 2016-07-01 19:40:05 -04:00
parent 5e9b1cca77
commit 1d11a73600

View File

@ -6,7 +6,7 @@ else
current_script_path=$0
fi
asdf_dir=$(cd $(dirname $current_script_path) > /dev/null; echo $(pwd))
asdf_dir=$(cd $(dirname $current_script_path) &> /dev/null; echo $(pwd))
export PATH="${asdf_dir}/bin:${asdf_dir}/shims:$PATH"
if [ -n "$ZSH_VERSION" ]; then