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
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue