shell/+fzf: fix bin/fzf-apps for macos

This commit is contained in:
Henrik Lissner 2017-04-26 14:53:47 -04:00
parent 4028bbe259
commit 77a3678f7e

View file

@ -6,7 +6,7 @@
case $OSTYPE in case $OSTYPE in
darwin*) darwin*)
cmd=$(find -L {,~}/Applications -iname '*.app' -maxdepth 2 -type f 2>/dev/null | sort -u | gui-fzf) cmd=$(find -L {,~}/Applications -iname '*.app' -maxdepth 2 -type d 2>/dev/null | sort -u | gui-fzf)
[[ $cmd ]] && open "$cmd" [[ $cmd ]] && open "$cmd"
;; ;;
linux*) linux*)