diff options
author | John Ankarström <john@ankarstrom.se> | 2021-06-09 20:22:53 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2021-06-09 20:25:19 +0200 |
commit | 5d8836da9350a89708dc4d8da586d78bf250fa24 (patch) | |
tree | 566e2b1d24ec380e323cd75a4100a504eae4a496 /home/john/.config/rox.sourceforge.net/MIME-types/text | |
parent | 53846603b682c5a0c7bcd822dbf3e57391ee15b9 (diff) | |
download | lbsd-5d8836da9350a89708dc4d8da586d78bf250fa24.tar.gz |
ROX: Add file associations
Diffstat (limited to 'home/john/.config/rox.sourceforge.net/MIME-types/text')
-rwxr-xr-x | home/john/.config/rox.sourceforge.net/MIME-types/text | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/home/john/.config/rox.sourceforge.net/MIME-types/text b/home/john/.config/rox.sourceforge.net/MIME-types/text new file mode 100755 index 0000000..1e49770 --- /dev/null +++ b/home/john/.config/rox.sourceforge.net/MIME-types/text @@ -0,0 +1,6 @@ +#! /bin/sh +cd "$(dirname "$1")" +case "$1" in +*/Makefile) exec xtopen -K make ;; +*) exec xtopen vi "$1" ;; +esac |