Commit d462b6f7 authored by gsell's avatar gsell

Merge branch '86-fix-add-support-for-shell-sh' into 'master'

Resolve "fix: add support for shell 'sh'"

Closes #86

See merge request !50
parents 0198914f 965ab75c
...@@ -55,7 +55,7 @@ print_help() { ...@@ -55,7 +55,7 @@ print_help() {
export_env() { export_env() {
case "${Shell}" in case "${Shell}" in
bash | zsh ) sh | bash | zsh )
local -r fmt="export %s=\"%s\"; " local -r fmt="export %s=\"%s\"; "
;; ;;
csh | tcsh ) csh | tcsh )
...@@ -1960,8 +1960,8 @@ subcommand_initclear() { ...@@ -1960,8 +1960,8 @@ subcommand_initclear() {
# main # main
# #
case "$1" in case "$1" in
bash | zsh ) sh | bash | zsh )
declare Shell="$1" declare Shell="sh"
;; ;;
csh | tcsh ) csh | tcsh )
declare Shell='csh' 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