SHELL bash + package bash-completion
This commit is contained in:
+2
-2
@@ -54,8 +54,8 @@ function execute_miaou_lib {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function assert_bash {
|
function assert_bash {
|
||||||
if [[ $SHELL != "$BASH_SHELL" ]]; then
|
if [[ $(basename "$SHELL") != 'bash' ]]; then
|
||||||
>&2 echo "you are running on SHELL=$SHELL. expectation: $BASH_SHELL"
|
>&2 echo "MIAOU ERROR: you are running on SHELL=$SHELL rather than 'bash'!"
|
||||||
return 11
|
return 11
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -10,7 +10,7 @@ readonly AZERTY_ZONES=(
|
|||||||
'Pacific/Noumea'
|
'Pacific/Noumea'
|
||||||
'Pacific/Tahiti'
|
'Pacific/Tahiti'
|
||||||
)
|
)
|
||||||
readonly REQUIRED_PKGS=(file jq vim git)
|
readonly REQUIRED_PKGS=(file jq vim git bash-completion)
|
||||||
readonly BACKUP_SUFFIX='.ORIGINAL'
|
readonly BACKUP_SUFFIX='.ORIGINAL'
|
||||||
|
|
||||||
# FUNCTIONS
|
# FUNCTIONS
|
||||||
|
|||||||
Reference in New Issue
Block a user