forked from nico/dots
fish: make prompt colours a universal variable
This commit is contained in:
parent
fa05bf798d
commit
c6c8674a83
2 changed files with 9 additions and 3 deletions
6
stow/.config/fish/functions/posix-source-universal.fish
Normal file
6
stow/.config/fish/functions/posix-source-universal.fish
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
function posix-source-universal
|
||||
for i in (cat $argv)
|
||||
set arr (echo $i |tr = \n)
|
||||
set -Ux $arr[1] $arr[2]
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue