|
|
|
@ -129,6 +129,7 @@ function link_config_files { |
|
|
|
fi |
|
|
|
link_etc profile.d/20-miaou-bash.sh |
|
|
|
link_etc bash.bashrc |
|
|
|
link_etc bash_completion.d/miaou-bash.complete |
|
|
|
link_etc inputrc # last command required to detect successful installation |
|
|
|
} |
|
|
|
|
|
|
|
@ -226,6 +227,12 @@ function apply_mode { |
|
|
|
fi |
|
|
|
} |
|
|
|
|
|
|
|
function reload { |
|
|
|
[[ $- == *i* ]] && bind -f /etc/inputrc >/dev/null |
|
|
|
# shellcheck source=/dev/null |
|
|
|
source /etc/bash.bashrc |
|
|
|
} |
|
|
|
|
|
|
|
# MAIN |
|
|
|
|
|
|
|
source "$MIAOU_BASH_DIR"/lib/functions.bash |
|
|
|
@ -239,7 +246,7 @@ ghostty_global_config |
|
|
|
link_config_files |
|
|
|
link_miaou_bash |
|
|
|
create_sudoers |
|
|
|
|
|
|
|
fetch_mode |
|
|
|
apply_mode |
|
|
|
launch_hooks |
|
|
|
reload |