Documentation fixes and updates (#933)
- Document history option
- Use $() command substitution syntax because backticks are replaced
with quotes in gen/docstring.sh
- Movement commands no longer close the search prompt (85aa3b9)
- Use the -L flag of the file command instead of readlink
This commit is contained in:
1 parent
01d3b69de0
commit
5ba70d0f61
4 files changed
+46
-47
No files matched your search
+1
-2
@@ -36,8 +36,7 @@ map O $mimeopen --ask $f
|
||||
# use either file extensions and/or mime types here. Below uses an editor for
|
||||
# text files and a file opener for the rest.
|
||||
cmd open ${{
|
||||
test -L $f && f=$(readlink -f $f)
|
||||
case $(file --mime-type $f -b) in
|
||||
case $(file --mime-type -Lb $f) in
|
||||
text/*) $EDITOR $fx;;
|
||||
*) for f in $fx; do setsid $OPENER $f > /dev/null 2> /dev/null & done;;
|
||||
esac
|
||||
|
||||
Reference in new issue
Block a user