Change to Environment variables again

This commit is contained in:
RealStickman 2020-11-10 16:05:42 +01:00
parent a6c0b0e8d2
commit 31e8c6ef2f

View File

@ -85,11 +85,9 @@ ext x?html?, has w3m, terminal = w3m "$@"
# Misc
#-------------------------------------------
# Define the "editor" for text files as first action
#mime ^text, label editor = ${VISUAL:-$EDITOR} -- "$@"
#mime ^text, label editor = /usr/bin/emacs --no-window-system -- "$@"
mime ^text, label editor = $EDITOR -- "$@"
mime ^text, label editor = ${VISUAL:-$EDITOR} -- "$@"
mime ^text, label pager = "$PAGER" -- "$@"
!mime ^text, label editor, ext xml|json|csv|tex|py|pl|rb|js|sh|php = $EDITOR -- "$@"
!mime ^text, label editor, ext xml|json|csv|tex|py|pl|rb|js|sh|php = ${VISUAL:-$EDITOR} -- "$@"
!mime ^text, label pager, ext xml|json|csv|tex|py|pl|rb|js|sh|php = "$PAGER" -- "$@"
ext 1 = man "$1"