mirror of
https://github.com/jenv/jenv.git
synced 2026-05-03 03:44:37 +01:00
Fix jenv-init for shells without typeset
This commit is contained in:
+1
-1
@@ -141,7 +141,7 @@ bash | zsh | * )
|
||||
IFS="|"
|
||||
cat <<EOS
|
||||
jenv() {
|
||||
typeset command
|
||||
type typeset &> /dev/null && typeset command
|
||||
command="\$1"
|
||||
if [ "\$#" -gt 0 ]; then
|
||||
shift
|
||||
|
||||
Reference in New Issue
Block a user