From 1d11a73600360d61bf7d30a524d329eeb9b54fb2 Mon Sep 17 00:00:00 2001 From: Charles Treatman Date: Fri, 1 Jul 2016 19:40:05 -0400 Subject: [PATCH] Redirect all output to /dev/null, not just stdout --- asdf.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/asdf.sh b/asdf.sh index 7d01ba2e..cd5871ed 100644 --- a/asdf.sh +++ b/asdf.sh @@ -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