mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-04 15:51:15 -03:00
Add OS check to pkg completions
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user