mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +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
|
# Completions for pkgng package manager
|
||||||
|
|
||||||
|
if uname | not string match FreeBSD
|
||||||
|
exit
|
||||||
|
end
|
||||||
|
|
||||||
function __fish_pkg_is
|
function __fish_pkg_is
|
||||||
for option in $argv
|
for option in $argv
|
||||||
if contains $option (commandline -poc)
|
if contains $option (commandline -poc)
|
||||||
|
|
Loading…
Reference in a new issue