dotfiles/.local/bin/scripts/edbin
2021-06-18 18:02:46 +02:00

3 lines
126 B
Bash
Executable file

#!/bin/sh
file="$(f="$(which $1 2>/dev/null)" && test -f "$f" && echo $f || echo "$HOME/.local/bin/scripts/$1")"
edit "$file"