From b4cc65f8598d6cc1eb4e0334b0f93d6bf892a551 Mon Sep 17 00:00:00 2001 From: Hannes Date: Mon, 29 Jun 2026 19:01:30 +0200 Subject: [PATCH] fix to sourcing --- config.fish | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/config.fish b/config.fish index 3c0348b..14d44a9 100755 --- a/config.fish +++ b/config.fish @@ -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=.*' /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