Browse Source

SHELL bash + package bash-completion

main
pvincent 2 weeks ago
parent
commit
49dfe9f1fc
  1. 4
      install.sh
  2. 2
      lib/initiate.bash

4
install.sh

@ -54,8 +54,8 @@ function execute_miaou_lib {
}
function assert_bash {
if [[ $SHELL != "$BASH_SHELL" ]]; then
>&2 echo "you are running on SHELL=$SHELL. expectation: $BASH_SHELL"
if [[ $(basename "$SHELL") != 'bash' ]]; then
>&2 echo "MIAOU ERROR: you are running on SHELL=$SHELL rather than 'bash'!"
return 11
fi
}

2
lib/initiate.bash

@ -10,7 +10,7 @@ readonly AZERTY_ZONES=(
'Pacific/Noumea'
'Pacific/Tahiti'
)
readonly REQUIRED_PKGS=(file jq vim git)
readonly REQUIRED_PKGS=(file jq vim git bash-completion)
readonly BACKUP_SUFFIX='.ORIGINAL'
# FUNCTIONS

Loading…
Cancel
Save