mirror of
https://github.com/pyenv/pyenv.git
synced 2025-11-16 07:13:53 -05:00
Get rid of explicit exit in fish branch of rbenv-init
Allows for code to be added to the end of the script which will not mysteriously fail to run for fish shell.
This commit is contained in:
@@ -140,7 +140,6 @@ function rbenv
|
||||
end
|
||||
end
|
||||
EOS
|
||||
exit 0
|
||||
;;
|
||||
ksh )
|
||||
cat <<EOS
|
||||
@@ -156,6 +155,7 @@ EOS
|
||||
;;
|
||||
esac
|
||||
|
||||
if [ "$shell" != "fish" ]; then
|
||||
IFS="|"
|
||||
cat <<EOS
|
||||
command="\$1"
|
||||
@@ -171,3 +171,4 @@ cat <<EOS
|
||||
esac
|
||||
}
|
||||
EOS
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user