mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-25 20:33:08 +00:00
Add OS check to pkg completions
This commit is contained in:
parent
c133cb2f1a
commit
e8b6705067
1 changed files with 4 additions and 0 deletions
|
@ -1,5 +1,9 @@
|
|||
# Completions for pkgng package manager
|
||||
|
||||
if uname | not string match FreeBSD
|
||||
exit
|
||||
end
|
||||
|
||||
function __fish_pkg_is
|
||||
for option in $argv
|
||||
if contains $option (commandline -poc)
|
||||
|
|
Loading…
Reference in a new issue