follow links in 'open' examples

cc #634
This commit is contained in:
Gokcehan committed 2021-05-22 01:46:13 +03:00
1 parent 7acb69c40a
commit 5d02b557d3
4 files changed
+5

No files matched your search

+1
View File
@@ -1255,6 +1255,7 @@ You may want to use either file extensions or mime types from 'file'
command:
cmd open ${{
test -L $f && f=$(readlink -f $f)
case $(file --mime-type $f -b) in
text/*) vi $fx;;
*) for f in $fx; do xdg-open $f > /dev/null 2> /dev/null & done;;