Skip to content

Instantly share code, notes, and snippets.

@tek-nishi
Last active August 21, 2017 05:42
Show Gist options
  • Save tek-nishi/3e25d3810062e2ffda3415b9830f1dc8 to your computer and use it in GitHub Desktop.
Save tek-nishi/3e25d3810062e2ffda3415b9830f1dc8 to your computer and use it in GitHub Desktop.
Add dired font lock of executable file
(font-lock-add-keywords 'dired-mode
'((" +-[rw-]+x"
(".+" (dired-move-to-filename)
nil
(0 'font-lock-string-face)))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment