fix to sourcing

This commit is contained in:
Hannes
2026-06-29 19:01:30 +02:00
parent 1ac70e8b31
commit b4cc65f859
+1 -2
View File
@@ -4,8 +4,7 @@ set --global fish_key_bindings fish_default_key_bindings
if status is-interactive
# Get distro ID from /etc/os-release
if test -f /etc/os-release
set -l os_id (string match -r '^ID=.*' </etc/os-release 2>/dev/null | string split -m1 '=' | string lower)
set -l distro $os_id[2]
set distro (grep '^ID=' /etc/os-release | cut -d= -f2 | string lower)
else
set distro unknown
end