mirror of
https://github.com/wahyd4/jabba.git
synced 2026-08-09 04:46:17 +10:00
Fixed JAVA_HOME propagation in Fish shell on CentOS 7
This commit is contained in:
+1
-1
@@ -136,7 +136,7 @@ echo "function jabba"
|
||||
echo " set fd3 (mktemp /tmp/jabba-fd3.XXXXXX)"
|
||||
echo " env JABBA_SHELL_INTEGRATION=ON ${JABBA_DIR}/bin/jabba \$argv 3> \$fd3"
|
||||
echo " set exit_code \$status"
|
||||
echo " eval (cat \$fd3 | sed \"s/^export/set -x/g\" | sed \"s/^unset/set -e/g\" | tr '=' ' ' | sed \"s/:/\\\" \\\"/g\" | tr '\\\\n' ';')"
|
||||
echo " eval (cat \$fd3 | sed \"s/^export/set -xg/g\" | sed \"s/^unset/set -e/g\" | tr '=' ' ' | sed \"s/:/\\\" \\\"/g\" | tr '\\\\n' ';')"
|
||||
echo " rm -f \$fd3"
|
||||
echo " return \$exit_code"
|
||||
echo "end"
|
||||
|
||||
Reference in New Issue
Block a user