1 parent
7acb69c40a
commit
5d02b557d3
4 files changed
+5
No files matched your search
@@ -13,6 +13,7 @@ lf \- terminal file manager
|
||||
.OP \-remote command
|
||||
.OP \-selection-path path
|
||||
.OP \-server
|
||||
.OP \-single
|
||||
.OP \-version
|
||||
.OP \-help
|
||||
.RI [ directory ]
|
||||
@@ -1273,6 +1274,7 @@ You may want to use either file extensions or mime types from 'file' command:
|
||||
.PP
|
||||
.EX
|
||||
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;;
|
||||
|
||||
Reference in new issue
Block a user