mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-26 10:43:47 +08:00
Add OS check to pkg completions
This commit is contained in:
parent
c133cb2f1a
commit
e8b6705067
|
@ -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 New Issue
Block a user