-
-
Save kensykora/d9138a09d0fe7127591d to your computer and use it in GitHub Desktop.
source kvm.sh output
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kensykora@dhcp-09-101 /u/l/C/k/1/bin> source kvm.sh | |
fish: Illegal command name '_kvm_has()' | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 3): _kvm_has() { | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: 'return' builtin command outside of function definition | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 5): return $? | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: $? is not a valid variable in fish. If you want the exit status of the last command, try $status. | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 5): return $? | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Illegal command name '}' | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 6): } | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Illegal command name 'DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"' | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 10): DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )" | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Illegal command name '[[ $SOURCE != /* ]]' | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 12): [[ $SOURCE != /* ]] && SOURCE="$DIR/$SOURCE" # if $SOURCE was a relative symlink, we need to resolve it relative to the path where the symlink file was located | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Expected a command name, got token of type 'Run job in background'. Did you mean 'COMMAND; and COMMAND'? See the help section for the 'and' builtin command by typing 'help and'. | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 12): [[ $SOURCE != /* ]] && SOURCE="$DIR/$SOURCE" # if $SOURCE was a relative symlink, we need to resolve it relative to the path where the symlink file was located | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Illegal command name 'DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"' | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 14): DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )" | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Illegal command name '_kvm_find_latest()' | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 32): _kvm_find_latest() { | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: 'return' builtin command outside of function definition | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 38): return 1 | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Expected a command name, got token of type 'Pipe'. Did you mean 'COMMAND; or COMMAND'? See the help section for the 'or' builtin command by typing 'help or'. | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 43): echo $xml | grep \<[a-zA-Z]:Version\>* >> /dev/null || return 1 | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: This command can not be used in a pipeline | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 43): echo $xml | grep \<[a-zA-Z]:Version\>* >> /dev/null || return 1 | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: 'return' builtin command outside of function definition | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 43): echo $xml | grep \<[a-zA-Z]:Version\>* >> /dev/null || return 1 | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Illegal command name '}' | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 46): } | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Illegal command name '_kvm_strip_path()' | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 48): _kvm_strip_path() { | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Illegal command name '}' | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 50): } | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Illegal command name '_kvm_prepend_path()' | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 52): _kvm_prepend_path() { | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Illegal command name '}' | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 58): } | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Illegal command name '_kvm_package_version()' | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 60): _kvm_package_version() { | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Illegal command name '}' | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 63): } | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Illegal command name '_kvm_package_name()' | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 65): _kvm_package_name() { | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Illegal command name '}' | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 68): } | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Illegal command name '_kvm_package_runtime()' | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 70): _kvm_package_runtime() { | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Illegal command name '}' | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 73): } | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Illegal command name '_kvm_download()' | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 75): _kvm_download() { | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Did you mean (COMMAND)? In fish, the '$' character is only used for accessing variables. To learn more about command substitution in fish, type 'help expand-command-substitution'. | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 79): local pkgName=$(_kvm_package_name "$kreFullName") | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Did you mean (COMMAND)? In fish, the '$' character is only used for accessing variables. To learn more about command substitution in fish, type 'help expand-command-substitution'. | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 80): local pkgVersion=$(_kvm_package_version "$kreFullName") | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: 'return' builtin command outside of function definition | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 86): return 0 | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: 'return' builtin command outside of function definition | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 93): return 1 | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Did you mean (COMMAND)? In fish, the '$' character is only used for accessing variables. To learn more about command substitution in fish, type 'help expand-command-substitution'. | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 98): local httpResult=$(curl -L -D - -u aspnetreadonly:4d8a2d9c-7b80-4162-9978-47e918c9658c "$url" -o "$kreFile" 2>/dev/null | grep "^HTTP/1.1" | head -n 1 | sed "s/HTTP.1.1 \([0-9]*\).*/\1/") | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Expected a command name, got token of type 'Run job in background'. Did you mean 'COMMAND; and COMMAND'? See the help section for the 'and' builtin command by typing 'help and'. | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 100): [[ $httpResult == "404" ]] && echo "$kreFullName was not found in repository $KRE_FEED" && return 1 | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Expected a command name, got token of type 'Run job in background'. Did you mean 'COMMAND; and COMMAND'? See the help section for the 'and' builtin command by typing 'help and'. | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 100): [[ $httpResult == "404" ]] && echo "$kreFullName was not found in repository $KRE_FEED" && return 1 | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: 'return' builtin command outside of function definition | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 100): [[ $httpResult == "404" ]] && echo "$kreFullName was not found in repository $KRE_FEED" && return 1 | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Expected a command name, got token of type 'Run job in background'. Did you mean 'COMMAND; and COMMAND'? See the help section for the 'and' builtin command by typing 'help and'. | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 101): [[ $httpResult != "302" && $httpResult != "200" ]] && echo "HTTP Error $httpResult fetching $kreFullName from $KRE_FEED" && return 1 | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Expected a command name, got token of type 'Run job in background'. Did you mean 'COMMAND; and COMMAND'? See the help section for the 'and' builtin command by typing 'help and'. | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 101): [[ $httpResult != "302" && $httpResult != "200" ]] && echo "HTTP Error $httpResult fetching $kreFullName from $KRE_FEED" && return 1 | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: 'return' builtin command outside of function definition | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 101): [[ $httpResult != "302" && $httpResult != "200" ]] && echo "HTTP Error $httpResult fetching $kreFullName from $KRE_FEED" && return 1 | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Illegal command name '}' | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 104): } | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Illegal command name '_kvm_unpack()' | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 106): _kvm_unpack() { | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: 'return' builtin command outside of function definition | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 114): return 1 | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Expected a command name, got token of type 'Run job in background'. Did you mean 'COMMAND; and COMMAND'? See the help section for the 'and' builtin command by typing 'help and'. | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 119): [ -e "$kreFolder/[Content_Types].xml" ] && rm "$kreFolder/[Content_Types].xml" | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Expected a command name, got token of type 'Run job in background'. Did you mean 'COMMAND; and COMMAND'? See the help section for the 'and' builtin command by typing 'help and'. | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 121): [ -e "$kreFolder/_rels/" ] && rm -rf "$kreFolder/_rels/" | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Expected a command name, got token of type 'Run job in background'. Did you mean 'COMMAND; and COMMAND'? See the help section for the 'and' builtin command by typing 'help and'. | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 123): [ -e "$kreFolder/package/" ] && rm -rf "$kreFolder/_package/" | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Expected a command name, got token of type 'Run job in background'. Did you mean 'COMMAND; and COMMAND'? See the help section for the 'and' builtin command by typing 'help and'. | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 131): rm -f "$kreFolder/bin/mono" && ln -s "$DIR/mono" "$kreFolder/bin/mono" | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Illegal command name '}' | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 133): } | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Illegal command name '_kvm_requested_platform()' | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 136): _kvm_requested_platform() { | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Expected a command name, got token of type 'Run job in background'. Did you mean 'COMMAND; and COMMAND'? See the help section for the 'and' builtin command by typing 'help and'. | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 138): [[ -z $KRE_MONO45 ]] && echo "mono45" && return | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Expected a command name, got token of type 'Run job in background'. Did you mean 'COMMAND; and COMMAND'? See the help section for the 'and' builtin command by typing 'help and'. | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 138): [[ -z $KRE_MONO45 ]] && echo "mono45" && return | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: 'return' builtin command outside of function definition | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 138): [[ -z $KRE_MONO45 ]] && echo "mono45" && return | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Illegal command name '}' | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 140): } | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Illegal command name '_kvm_requested_architecture()' | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 143): _kvm_requested_architecture() { | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Expected a command name, got token of type 'Run job in background'. Did you mean 'COMMAND; and COMMAND'? See the help section for the 'and' builtin command by typing 'help and'. | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 146): [[ -n $KRE_X86 && -n $KRE_X64 ]] && echo "This command cannot accept both -x86 and -x64" && return 1 | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Expected a command name, got token of type 'Run job in background'. Did you mean 'COMMAND; and COMMAND'? See the help section for the 'and' builtin command by typing 'help and'. | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 146): [[ -n $KRE_X86 && -n $KRE_X64 ]] && echo "This command cannot accept both -x86 and -x64" && return 1 | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: 'return' builtin command outside of function definition | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 146): [[ -n $KRE_X86 && -n $KRE_X64 ]] && echo "This command cannot accept both -x86 and -x64" && return 1 | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Expected a command name, got token of type 'Run job in background'. Did you mean 'COMMAND; and COMMAND'? See the help section for the 'and' builtin command by typing 'help and'. | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 147): [[ -z $KRE_X86 ]] && echo "x86" && return | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Expected a command name, got token of type 'Run job in background'. Did you mean 'COMMAND; and COMMAND'? See the help section for the 'and' builtin command by typing 'help and'. | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 147): [[ -z $KRE_X86 ]] && echo "x86" && return | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: 'return' builtin command outside of function definition | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 147): [[ -z $KRE_X86 ]] && echo "x86" && return | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Expected a command name, got token of type 'Run job in background'. Did you mean 'COMMAND; and COMMAND'? See the help section for the 'and' builtin command by typing 'help and'. | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 148): [[ -z $KRE_X64 ]] && echo "x64" && return | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Expected a command name, got token of type 'Run job in background'. Did you mean 'COMMAND; and COMMAND'? See the help section for the 'and' builtin command by typing 'help and'. | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 148): [[ -z $KRE_X64 ]] && echo "x64" && return | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: 'return' builtin command outside of function definition | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 148): [[ -z $KRE_X64 ]] && echo "x64" && return | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Illegal command name '}' | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 150): } | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Illegal command name '_kvm_requested_version_or_alias()' | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 152): _kvm_requested_version_or_alias() { | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Did you mean (COMMAND)? In fish, the '$' character is only used for accessing variables. To learn more about command substitution in fish, type 'help expand-command-substitution'. | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 156): local kreFullName=$(cat "$KRE_USER_HOME/alias/$versionOrAlias.alias") | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Did you mean (COMMAND)? In fish, the '$' character is only used for accessing variables. To learn more about command substitution in fish, type 'help expand-command-substitution'. | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 157): local pkgName=$(echo $kreFullName | sed "s/\([^.]*\).*/\1/") | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Did you mean (COMMAND)? In fish, the '$' character is only used for accessing variables. To learn more about command substitution in fish, type 'help expand-command-substitution'. | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 158): local pkgVersion=$(echo $kreFullName | sed "s/[^.]*.\(.*\)/\1/") | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Did you mean (COMMAND)? In fish, the '$' character is only used for accessing variables. To learn more about command substitution in fish, type 'help expand-command-substitution'. | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 1): _kvm_requested_platform $(echo "$pkgName" | sed "s/KRE-\([^-]*\).*/\1/") | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Did you mean (COMMAND)? In fish, the '$' character is only used for accessing variables. To learn more about command substitution in fish, type 'help expand-command-substitution'. | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 159): local pkgPlatform=$(_kvm_requested_platform $(echo "$pkgName" | sed "s/KRE-\([^-]*\).*/\1/")) | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Did you mean (COMMAND)? In fish, the '$' character is only used for accessing variables. To learn more about command substitution in fish, type 'help expand-command-substitution'. | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 1): _kvm_requested_architecture $(echo "$pkgName" | sed "s/.*-.*-\([^-]*\).*/\1/") | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Did you mean (COMMAND)? In fish, the '$' character is only used for accessing variables. To learn more about command substitution in fish, type 'help expand-command-substitution'. | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 160): local pkgArchitecture=$(_kvm_requested_architecture $(echo "$pkgName" | sed "s/.*-.*-\([^-]*\).*/\1/")) | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Did you mean (COMMAND)? In fish, the '$' character is only used for accessing variables. To learn more about command substitution in fish, type 'help expand-command-substitution'. | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 163): local pkgPlatform=$(_kvm_requested_platform "mono45") | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Did you mean (COMMAND)? In fish, the '$' character is only used for accessing variables. To learn more about command substitution in fish, type 'help expand-command-substitution'. | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 164): local pkgArchitecture=$(_kvm_requested_architecture "x86") | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Illegal command name '}' | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 167): } | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Illegal command name '_kvm_locate_kre_bin_from_full_name()' | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 170): _kvm_locate_kre_bin_from_full_name() { | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Expected a command name, got token of type 'Run job in background'. Did you mean 'COMMAND; and COMMAND'? See the help section for the 'and' builtin command by typing 'help and'. | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 172): [ -e "$KRE_USER_PACKAGES/$kreFullName/bin" ] && echo "$KRE_USER_PACKAGES/$kreFullName/bin" && return | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Expected a command name, got token of type 'Run job in background'. Did you mean 'COMMAND; and COMMAND'? See the help section for the 'and' builtin command by typing 'help and'. | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 172): [ -e "$KRE_USER_PACKAGES/$kreFullName/bin" ] && echo "$KRE_USER_PACKAGES/$kreFullName/bin" && return | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: 'return' builtin command outside of function definition | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 172): [ -e "$KRE_USER_PACKAGES/$kreFullName/bin" ] && echo "$KRE_USER_PACKAGES/$kreFullName/bin" && return | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Illegal command name '}' | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 173): } | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Illegal command name 'kvm()' | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 175): kvm() | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Illegal command name '{' | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 176): { | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: The '$' begins a variable name. It was given at the end of an argument. Variable names may not be zero characters long. To learn more about variable expansion in fish, type 'help expand-variable'. | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 177): if [ $# -lt 1 ]; then | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: 'return' builtin command outside of function definition | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 179): return | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: 'case' builtin not inside of switch block | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 182): case $1 in | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
case − case ‐ conditionally execute a block of commands | |
case ‐ conditionally execute a block of commands | |
Synopsis | |
switch VALUE; [case [WILDCARD...]; [COMMANDS...]; ...] end | |
Description | |
switch performs one of several blocks of commands, depending on whether | |
a specified value equals one of several wildcarded values. case is used | |
together with the switch statement in order to determine which block | |
should be executed. | |
Each case command is given one or more parameters. The first case | |
command with a parameter that matches the string specified in the | |
switch command will be evaluated. case parameters may contain | |
wildcards. These need to be escaped or quoted in order to avoid regular | |
wildcard expansion using filenames. | |
Note that fish does not fall through on case statements. Only the first | |
matching case is executed. | |
Note that command substitutions in a case statement will be evaluated | |
even if its body is not taken. All substitutions, including command | |
substitutions, must be performed before the value can be compared | |
against the parameter. | |
Example | |
If the variable $animal contains the name of an animal, the following | |
code would attempt to classify it: | |
switch $animal | |
case cat | |
echo evil | |
case wolf dog human moose dolphin whale | |
echo mammal | |
case duck goose albatross | |
echo bird | |
case shark trout stingray | |
echo fish | |
# Note that the next case has a wildcard which is quoted | |
case ’*’ | |
echo I have no idea what a $animal is | |
end | |
If the above code was run with $animal set to whale, the output would | |
be mammal. | |
fish: Mismatched parenthesis | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 183): "help" ) | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Mismatched parenthesis | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 225): "upgrade" ) | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: The '$' begins a variable name. It was given at the end of an argument. Variable names may not be zero characters long. To learn more about variable expansion in fish, type 'help expand-variable'. | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 226): [ $# -ne 1 ] && kvm help && return | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Mismatched parenthesis | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 230): "install" ) | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: The '$' begins a variable name. It was given at the end of an argument. Variable names may not be zero characters long. To learn more about variable expansion in fish, type 'help expand-variable'. | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 231): [ $# -lt 2 ] && kvm help && return | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: The '$' begins a variable name. It was given at the end of an argument. Variable names may not be zero characters long. To learn more about variable expansion in fish, type 'help expand-variable'. | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 236): while [ $# -ne 0 ] | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Expected a command name, got token of type 'Run job in background'. Did you mean 'COMMAND; and COMMAND'? See the help section for the 'and' builtin command by typing 'help and'. | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 244): [[ -n $versionOrAlias ]] && echo "Invalid option $1" && kvm help && return 1 | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Expected a command name, got token of type 'Run job in background'. Did you mean 'COMMAND; and COMMAND'? See the help section for the 'and' builtin command by typing 'help and'. | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 244): [[ -n $versionOrAlias ]] && echo "Invalid option $1" && kvm help && return 1 | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Expected a command name, got token of type 'Run job in background'. Did you mean 'COMMAND; and COMMAND'? See the help section for the 'and' builtin command by typing 'help and'. | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 244): [[ -n $versionOrAlias ]] && echo "Invalid option $1" && kvm help && return 1 | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: 'return' builtin command outside of function definition | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 244): [[ -n $versionOrAlias ]] && echo "Invalid option $1" && kvm help && return 1 | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Illegal command name 'versionOrAlias=$(_kvm_find_latest mono45 x86)' | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 251): versionOrAlias=$(_kvm_find_latest mono45 x86) | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Illegal command name '[[ $? == 1 ]]' | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 252): [[ $? == 1 ]] && echo "Error: Could not find latest version from feed $KRE_FEED" && return 1 | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Expected a command name, got token of type 'Run job in background'. Did you mean 'COMMAND; and COMMAND'? See the help section for the 'and' builtin command by typing 'help and'. | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 252): [[ $? == 1 ]] && echo "Error: Could not find latest version from feed $KRE_FEED" && return 1 | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Expected a command name, got token of type 'Run job in background'. Did you mean 'COMMAND; and COMMAND'? See the help section for the 'and' builtin command by typing 'help and'. | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 252): [[ $? == 1 ]] && echo "Error: Could not find latest version from feed $KRE_FEED" && return 1 | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: 'return' builtin command outside of function definition | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 252): [[ $? == 1 ]] && echo "Error: Could not find latest version from feed $KRE_FEED" && return 1 | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Illegal command name '[[ "$versionOrAlias" == *.nupkg ]]' | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 255): if [[ "$versionOrAlias" == *.nupkg ]]; then | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Did you mean (COMMAND)? In fish, the '$' character is only used for accessing variables. To learn more about command substitution in fish, type 'help expand-command-substitution'. | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 256): local kreFullName=$(basename $versionOrAlias | sed "s/\(.*\)\.nupkg/\1/") | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Did you mean (COMMAND)? In fish, the '$' character is only used for accessing variables. To learn more about command substitution in fish, type 'help expand-command-substitution'. | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 257): local kreVersion=$(_kvm_package_version "$kreFullName") | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Expected a command name, got token of type 'Run job in background'. Did you mean 'COMMAND; and COMMAND'? See the help section for the 'and' builtin command by typing 'help and'. | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 269): [[ -n $alias ]] && kvm alias "$alias" "$kreVersion" | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: The '$' character begins a variable name. The character '(', which directly followed a '$', is not allowed as a part of a variable name, and variable names may not be zero characters long. To learn more about variable expansion in fish, type 'help expand-variable'. | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 271): local kreFullName="$(_kvm_requested_version_or_alias $versionOrAlias)" | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Illegal command name '[[ $? == 1 ]]' | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 274): [[ $? == 1 ]] && return | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Expected a command name, got token of type 'Run job in background'. Did you mean 'COMMAND; and COMMAND'? See the help section for the 'and' builtin command by typing 'help and'. | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 274): [[ $? == 1 ]] && return | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: 'return' builtin command outside of function definition | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 274): [[ $? == 1 ]] && return | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Expected a command name, got token of type 'Run job in background'. Did you mean 'COMMAND; and COMMAND'? See the help section for the 'and' builtin command by typing 'help and'. | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 276): [[ -n $alias ]] && kvm alias "$alias" "$versionOrAlias" | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Mismatched parenthesis | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 280): "use" ) | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: The '$' begins a variable name. It was given at the end of an argument. Variable names may not be zero characters long. To learn more about variable expansion in fish, type 'help expand-variable'. | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 281): [ $# -gt 3 ] && kvm help && return | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: The '$' begins a variable name. It was given at the end of an argument. Variable names may not be zero characters long. To learn more about variable expansion in fish, type 'help expand-variable'. | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 282): [ $# -lt 2 ] && kvm help && return | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: The '$' begins a variable name. It was given at the end of an argument. Variable names may not be zero characters long. To learn more about variable expansion in fish, type 'help expand-variable'. | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 286): while [ $# -ne 0 ] | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Illegal command name 'PATH=$(_kvm_strip_path "$PATH" "/bin")' | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 299): PATH=$(_kvm_strip_path "$PATH" "/bin") | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: 'return' builtin command outside of function definition | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 305): return 0 | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Did you mean (COMMAND)? In fish, the '$' character is only used for accessing variables. To learn more about command substitution in fish, type 'help expand-command-substitution'. | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 308): local kreFullName=$(_kvm_requested_version_or_alias "$versionOrAlias") | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Did you mean (COMMAND)? In fish, the '$' character is only used for accessing variables. To learn more about command substitution in fish, type 'help expand-command-substitution'. | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 309): local kreBin=$(_kvm_locate_kre_bin_from_full_name "$kreFullName") | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: 'return' builtin command outside of function definition | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 313): return 1 | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Illegal command name 'PATH=$(_kvm_strip_path "$PATH" "/bin")' | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 318): PATH=$(_kvm_strip_path "$PATH" "/bin") | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Illegal command name 'PATH=$(_kvm_prepend_path "$PATH" "$kreBin")' | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 319): PATH=$(_kvm_prepend_path "$PATH" "$kreBin") | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Did you mean (COMMAND)? In fish, the '$' character is only used for accessing variables. To learn more about command substitution in fish, type 'help expand-command-substitution'. | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 322): local kreVersion=$(_kvm_package_version "$kreFullName") | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Expected a command name, got token of type 'Run job in background'. Did you mean 'COMMAND; and COMMAND'? See the help section for the 'and' builtin command by typing 'help and'. | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 326): rm -f "$DIR/current" && ln -s "$kreBin" "$DIR/current" | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Mismatched parenthesis | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 330): "alias" ) | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Expected a command name, got token of type 'Run job in background'. Did you mean 'COMMAND; and COMMAND'? See the help section for the 'and' builtin command by typing 'help and'. | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 331): [[ $# -gt 3 ]] && kvm help && return | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Expected a command name, got token of type 'Run job in background'. Did you mean 'COMMAND; and COMMAND'? See the help section for the 'and' builtin command by typing 'help and'. | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 331): [[ $# -gt 3 ]] && kvm help && return | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: 'return' builtin command outside of function definition | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 331): [[ $# -gt 3 ]] && kvm help && return | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Expected a command name, got token of type 'Run job in background'. Did you mean 'COMMAND; and COMMAND'? See the help section for the 'and' builtin command by typing 'help and'. | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 333): [[ ! -e "$KRE_USER_HOME/alias/" ]] && mkdir "$KRE_USER_HOME/alias/" > /dev/null | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Did you mean (COMMAND)? In fish, the '$' character is only used for accessing variables. To learn more about command substitution in fish, type 'help expand-command-substitution'. | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 340): for _kvm_file in $(find "$KRE_USER_HOME/alias" -name *.alias); do | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: The '$' character begins a variable name. The character '(', which directly followed a '$', is not allowed as a part of a variable name, and variable names may not be zero characters long. To learn more about variable expansion in fish, type 'help expand-variable'. | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 341): local alias="$(basename $_kvm_file | sed 's/.alias//')" | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: The '$' character begins a variable name. The character '(', which directly followed a '$', is not allowed as a part of a variable name, and variable names may not be zero characters long. To learn more about variable expansion in fish, type 'help expand-variable'. | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 342): local name="$(cat $_kvm_file)" | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: 'return' builtin command outside of function definition | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 346): return | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Expected a command name, got token of type 'Run job in background'. Did you mean 'COMMAND; and COMMAND'? See the help section for the 'and' builtin command by typing 'help and'. | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 352): [[ ! -e "$KRE_USER_HOME/alias/$name.alias" ]] && echo "There is no alias called '$name'" && return | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Expected a command name, got token of type 'Run job in background'. Did you mean 'COMMAND; and COMMAND'? See the help section for the 'and' builtin command by typing 'help and'. | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 352): [[ ! -e "$KRE_USER_HOME/alias/$name.alias" ]] && echo "There is no alias called '$name'" && return | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: 'return' builtin command outside of function definition | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 352): [[ ! -e "$KRE_USER_HOME/alias/$name.alias" ]] && echo "There is no alias called '$name'" && return | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: 'return' builtin command outside of function definition | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 355): return | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Did you mean (COMMAND)? In fish, the '$' character is only used for accessing variables. To learn more about command substitution in fish, type 'help expand-command-substitution'. | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 358): local kreFullName=$(_kvm_requested_version_or_alias "$3") | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Expected a command name, got token of type 'Run job in background'. Did you mean 'COMMAND; and COMMAND'? See the help section for the 'and' builtin command by typing 'help and'. | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 360): [[ ! -d "$KRE_USER_PACKAGES/$kreFullName" ]] && echo "$kreFullName is not an installed KRE version" && return 1 | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Expected a command name, got token of type 'Run job in background'. Did you mean 'COMMAND; and COMMAND'? See the help section for the 'and' builtin command by typing 'help and'. | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 360): [[ ! -d "$KRE_USER_PACKAGES/$kreFullName" ]] && echo "$kreFullName is not an installed KRE version" && return 1 | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: 'return' builtin command outside of function definition | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 360): [[ ! -d "$KRE_USER_PACKAGES/$kreFullName" ]] && echo "$kreFullName is not an installed KRE version" && return 1 | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Expected a command name, got token of type 'Run job in background'. Did you mean 'COMMAND; and COMMAND'? See the help section for the 'and' builtin command by typing 'help and'. | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 363): [[ -e "$KRE_USER_HOME/alias/$name.alias" ]] && action="Updating" | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Mismatched parenthesis | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 368): "unalias" ) | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Expected a command name, got token of type 'Run job in background'. Did you mean 'COMMAND; and COMMAND'? See the help section for the 'and' builtin command by typing 'help and'. | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 369): [[ $# -ne 2 ]] && kvm help && return | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Expected a command name, got token of type 'Run job in background'. Did you mean 'COMMAND; and COMMAND'? See the help section for the 'and' builtin command by typing 'help and'. | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 369): [[ $# -ne 2 ]] && kvm help && return | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: 'return' builtin command outside of function definition | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 369): [[ $# -ne 2 ]] && kvm help && return | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Expected a command name, got token of type 'Run job in background'. Did you mean 'COMMAND; and COMMAND'? See the help section for the 'and' builtin command by typing 'help and'. | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 373): [[ ! -e "$aliasPath" ]] && echo "Cannot remove alias, '$name' is not a valid alias name" && return 1 | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Expected a command name, got token of type 'Run job in background'. Did you mean 'COMMAND; and COMMAND'? See the help section for the 'and' builtin command by typing 'help and'. | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 373): [[ ! -e "$aliasPath" ]] && echo "Cannot remove alias, '$name' is not a valid alias name" && return 1 | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: 'return' builtin command outside of function definition | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 373): [[ ! -e "$aliasPath" ]] && echo "Cannot remove alias, '$name' is not a valid alias name" && return 1 | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Mismatched parenthesis | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 378): "list" ) | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Expected a command name, got token of type 'Run job in background'. Did you mean 'COMMAND; and COMMAND'? See the help section for the 'and' builtin command by typing 'help and'. | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 379): [[ $# -gt 2 ]] && kvm help && return | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Expected a command name, got token of type 'Run job in background'. Did you mean 'COMMAND; and COMMAND'? See the help section for the 'and' builtin command by typing 'help and'. | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 379): [[ $# -gt 2 ]] && kvm help && return | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: 'return' builtin command outside of function definition | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 379): [[ $# -gt 2 ]] && kvm help && return | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Expected a command name, got token of type 'Run job in background'. Did you mean 'COMMAND; and COMMAND'? See the help section for the 'and' builtin command by typing 'help and'. | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 381): [[ ! -d $KRE_USER_PACKAGES ]] && echo "KRE is not installed." && return 1 | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Expected a command name, got token of type 'Run job in background'. Did you mean 'COMMAND; and COMMAND'? See the help section for the 'and' builtin command by typing 'help and'. | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 381): [[ ! -d $KRE_USER_PACKAGES ]] && echo "KRE is not installed." && return 1 | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: 'return' builtin command outside of function definition | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 381): [[ ! -d $KRE_USER_PACKAGES ]] && echo "KRE is not installed." && return 1 | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: The '$' begins a variable name. It was given at the end of an argument. Variable names may not be zero characters long. To learn more about variable expansion in fish, type 'help expand-variable'. | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 384): if [ $# == 2 ]; then | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Did you mean (COMMAND)? In fish, the '$' character is only used for accessing variables. To learn more about command substitution in fish, type 'help expand-command-substitution'. | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 386): local searchGlob=$(_kvm_requested_version_or_alias "$versionOrAlias") | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Did you mean (COMMAND)? In fish, the '$' character is only used for accessing variables. To learn more about command substitution in fish, type 'help expand-command-substitution'. | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 392): for f in $(find $KRE_USER_PACKAGES/* -name "$searchGlob" -type d -prune -exec basename {} \;); do | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Illegal command name '[[ $PATH == *"$KRE_USER_PACKAGES/$f/bin"* ]]' | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 394): [[ $PATH == *"$KRE_USER_PACKAGES/$f/bin"* ]] && local active=" *" | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Expected a command name, got token of type 'Run job in background'. Did you mean 'COMMAND; and COMMAND'? See the help section for the 'and' builtin command by typing 'help and'. | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 394): [[ $PATH == *"$KRE_USER_PACKAGES/$f/bin"* ]] && local active=" *" | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Did you mean (COMMAND)? In fish, the '$' character is only used for accessing variables. To learn more about command substitution in fish, type 'help expand-command-substitution'. | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 395): local pkgName=$(_kvm_package_runtime "$f") | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Did you mean (COMMAND)? In fish, the '$' character is only used for accessing variables. To learn more about command substitution in fish, type 'help expand-command-substitution'. | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 396): local pkgVersion=$(_kvm_package_version "$f") | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Expected a command name, got token of type 'Run job in background'. Did you mean 'COMMAND; and COMMAND'? See the help section for the 'and' builtin command by typing 'help and'. | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 398): [[ $# == 2 ]] && echo "" && return 0 | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Expected a command name, got token of type 'Run job in background'. Did you mean 'COMMAND; and COMMAND'? See the help section for the 'and' builtin command by typing 'help and'. | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 398): [[ $# == 2 ]] && echo "" && return 0 | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: 'return' builtin command outside of function definition | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 398): [[ $# == 2 ]] && echo "" && return 0 | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Expected a command name, got token of type 'Run job in background'. Did you mean 'COMMAND; and COMMAND'? See the help section for the 'and' builtin command by typing 'help and'. | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 402): [[ $# == 2 ]] && echo "$versionOrAlias not found" && return 1 | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Expected a command name, got token of type 'Run job in background'. Did you mean 'COMMAND; and COMMAND'? See the help section for the 'and' builtin command by typing 'help and'. | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 402): [[ $# == 2 ]] && echo "$versionOrAlias not found" && return 1 | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: 'return' builtin command outside of function definition | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 402): [[ $# == 2 ]] && echo "$versionOrAlias not found" && return 1 | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Illegal command name '*)' | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 405): *) | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: 'return' builtin command outside of function definition | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 407): return 1 | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: 'return' builtin command outside of function definition | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 410): return 0 | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Illegal command name '}' | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 411): } | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Expected a command name, got token of type 'Run job in background'. Did you mean 'COMMAND; and COMMAND'? See the help section for the 'and' builtin command by typing 'help and'. | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 413): kvm list default >/dev/null && kvm use default >/dev/null || true | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Expected a command name, got token of type 'Pipe'. Did you mean 'COMMAND; or COMMAND'? See the help section for the 'or' builtin command by typing 'help or'. | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 413): kvm list default >/dev/null && kvm use default >/dev/null || true | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
fish: Could not locate end of block. The 'end' command is missing, misspelled or a ';' is missing. | |
/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh (line 392): for f in $(find $KRE_USER_PACKAGES/* -name "$searchGlob" -type d -prune -exec basename {} \;); do | |
^ | |
in . (source) call of file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh', | |
called on standard input, | |
for − for ‐ perform a set of commands multiple times. | |
for ‐ perform a set of commands multiple times. | |
Synopsis | |
for VARNAME in [VALUES...]; COMMANDS...; end | |
Description | |
for is a loop construct. It will perform the commands specified by | |
COMMANDS multiple times. On each iteration, the environment variable | |
specified by VARNAME is assigned a new value from VALUES. If VALUES is | |
empty, COMMANDS will not be executed at all. | |
Example | |
The command | |
for i in foo bar baz; echo $i; end | |
would output: | |
foo | |
bar | |
baz | |
source: Error while reading file '/usr/local/Cellar/kvm/1.0.0-alpha3-2/libexec/kvm.sh' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment