dotfiles/bin/nnnedit

11 lines
129 B
Plaintext
Raw Permalink Normal View History

2022-09-24 07:59:11 +00:00
#!/bin/sh
case "$1" in
2023-02-28 01:40:28 +00:00
*.jpg|*.jpeg|*.png|*.gif)
2022-09-24 07:59:11 +00:00
gimp "$1"
;;
*)
"$EDITOR" "$1"
;;
esac