dotfiles/bin/nnnedit
2023-02-28 09:40:28 +08:00

11 lines
129 B
Bash
Executable File

#!/bin/sh
case "$1" in
*.jpg|*.jpeg|*.png|*.gif)
gimp "$1"
;;
*)
"$EDITOR" "$1"
;;
esac