mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2025-02-19 04:02:46 +08:00
remove references to wa
This commit is contained in:
parent
bf52f5d57a
commit
c480308889
|
@ -1,6 +1,6 @@
|
|||
# List all packages installed from the registry.
|
||||
function omf_list_installed_packages
|
||||
for item in (basename $OMF_PATH/pkg/*)
|
||||
test $item = wa; or echo $item
|
||||
test $item = omf; or echo $item
|
||||
end
|
||||
end
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# List all custom packages and packages installed from the registry.
|
||||
function omf_list_local_packages
|
||||
for item in (basename {$OMF_PATH,$OMF_CUSTOM}/pkg/*)
|
||||
test $item = wa; or echo $item
|
||||
test $item = omf; or echo $item
|
||||
end
|
||||
end
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
function omf_remove_package
|
||||
for pkg in $argv
|
||||
if not omf_util_valid_package $pkg
|
||||
if test $pkg = "wa"
|
||||
echo (omf::err)"You can't remove wa"(omf::off) 1^&2
|
||||
if test $pkg = "omf"
|
||||
echo (omf::err)"You can't remove `omf`"(omf::off) 1^&2
|
||||
else
|
||||
echo (omf::err)"$pkg is not a valid package/theme name"(omf::off) 1^&2
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue
Block a user