forked from nico/dots
fish: make getting os-release info local to function
This commit is contained in:
parent
c6c8674a83
commit
db83386473
2 changed files with 7 additions and 1 deletions
6
stow/.config/fish/functions/posix-source-local.fish
Normal file
6
stow/.config/fish/functions/posix-source-local.fish
Normal file
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue