mirror of
https://github.com/Pmodules/Pmodules.git
synced 2026-06-29 18:59:39 +02:00
Merge branch '86-fix-add-support-for-shell-sh' into 'master'
Resolve "fix: add support for shell 'sh'" Closes #86 See merge request Pmodules/src!50
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user