quick fix

This commit is contained in:
pvincent
2026-08-12 12:37:56 +04:00
parent 7c19a1146c
commit 6ef049fc78
+1 -4
View File
@@ -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