diff --git a/stow/.config/fish/config.fish b/stow/.config/fish/config.fish index 2a27fa8..3361536 100644 --- a/stow/.config/fish/config.fish +++ b/stow/.config/fish/config.fish @@ -8,7 +8,7 @@ if status is-interactive # match prompt symbol to OS logo if test -e /etc/os-release - posix-source /etc/os-release + posix-source-local /etc/os-release end if test -e /System diff --git a/stow/.config/fish/functions/posix-source-local.fish b/stow/.config/fish/functions/posix-source-local.fish new file mode 100644 index 0000000..ec0d974 --- /dev/null +++ b/stow/.config/fish/functions/posix-source-local.fish @@ -0,0 +1,6 @@ +function posix-source-local + for i in (cat $argv) + set arr (echo $i |tr = \n) + set -lx $arr[1] $arr[2] + end +end