Commit 965ab75c authored by gsell's avatar gsell

fix: support for shell 'sh' added

parent 0198914f
......@@ -55,7 +55,7 @@ print_help() {
export_env() {
case "${Shell}" in
bash | zsh )
sh | bash | zsh )
local -r fmt="export %s=\"%s\"; "
;;
csh | tcsh )
......@@ -1960,8 +1960,8 @@ subcommand_initclear() {
# main
#
case "$1" in
bash | zsh )
declare Shell="$1"
sh | bash | zsh )
declare Shell="sh"
;;
csh | tcsh )
declare Shell='csh'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment