diff --git a/lib/initiate.bash b/lib/initiate.bash index cf81539..6fc03c7 100644 --- a/lib/initiate.bash +++ b/lib/initiate.bash @@ -95,7 +95,7 @@ function link_config_files { function force_reload { bind -f /etc/inputrc 2>/dev/null # arch: dismiss harmless warning - exec bash + source /etc/bash.bashrc } function in_azerty_zone { @@ -122,15 +122,12 @@ function ghostty_global_config { [[ ! -d /etc/ghostty ]] && mkdir -p /etc/ghostty local global_config=/etc/ghostty/config local asset_config="$MIAOU_BASH_DIR"/assets/ghostty/config - local change=false if [[ ! -f "$global_config" ]]; then cp "$asset_config" "$global_config" echo 'ghostty global config created' - change=true elif ! cmp -s "$asset_config" "$global_config"; then cp "$asset_config" "$global_config" echo 'ghostty global config replaced' - change=true fi if [[ ! -f /etc/skell/.config/ghostty/config ]]; then