Merge pull request #172 from oh-my-fish/suppress-basename-output

Suppress basename usage output
This commit is contained in:
Bruno 2015-11-12 12:51:37 +00:00
commit 96d67b8951

View File

@ -55,7 +55,7 @@ function __omf.packages.list.installed -a type
contains $package (__omf.packages.builtin); or set list $list $package
end
test "$type" = "--plugin"; or for package in (basename -a {$OMF_CONFIG,$OMF_PATH}/themes/*)
test "$type" = "--plugin"; or for package in (basename -a {$OMF_CONFIG,$OMF_PATH}/themes/* 2>/dev/null)
set list $list $package
end