From 5738c4387f0455b400d4a73b0095d85be39f6d3f Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Fri, 21 Sep 2018 14:38:38 +0800 Subject: Remove the 'rehash' command from heainit() The 'rehash' command is available in ZSH, but not in Bash, which uses 'hash -r' instead. --- README.md | 1 - scripts/heasoft.sh | 1 - 2 files changed, 2 deletions(-) diff --git a/README.md b/README.md index 88c97fb..3a2bbaa 100644 --- a/README.md +++ b/README.md @@ -132,7 +132,6 @@ heainit() { tool=$(basename $i) ln -sf ${wrapper_name} ${wrapper_dir}/${tool} done - rehash echo "HEASoft initialized." else diff --git a/scripts/heasoft.sh b/scripts/heasoft.sh index 54e295b..03aa3fb 100755 --- a/scripts/heasoft.sh +++ b/scripts/heasoft.sh @@ -42,7 +42,6 @@ # tool=$(basename $i) # ln -sf ${wrapper_name} ${wrapper_dir}/${tool} # done -# rehash # # echo "HEASoft initialized." # else -- cgit v1.2.2