fix output redirections for open-file example

This commit is contained in:
Gokcehan committed 2017-01-07 18:13:21 +03:00
1 parent a99601668a
commit 7c800cc373
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -265,7 +265,7 @@ command:
cmd open-file ${{
case $(file --mime-type "$f" -b) in
text/*) IFS=':'; vim $fx;;
*) IFS=':'; for f in $fx; do xdg-open "$f" &> /dev/null & done;;
*) IFS=':'; for f in $fx; do xdg-open "$f" > /dev/null 2> /dev/null & done;;
esac
}}