Revert "fish: make getting os-release info local to function"
This reverts commit 4c6086487dfefb83bb7f7947a390c3c56923daa6.
This commit is contained in:
parent
db83386473
commit
04e18089cf
2 changed files with 1 additions and 7 deletions
|
|
@ -8,7 +8,7 @@ if status is-interactive
|
||||||
|
|
||||||
# match prompt symbol to OS logo
|
# match prompt symbol to OS logo
|
||||||
if test -e /etc/os-release
|
if test -e /etc/os-release
|
||||||
posix-source-local /etc/os-release
|
posix-source /etc/os-release
|
||||||
end
|
end
|
||||||
|
|
||||||
if test -e /System
|
if test -e /System
|
||||||
|
|
|
||||||
|
|
@ -1,6 +0,0 @@
|
||||||
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