Merge branch 'master' of git.blakenorth.net/home/git/dotfiles

This commit is contained in:
PowerUser64 2022-01-30 20:03:40 -08:00
commit 900449aa5b

View file

@ -112,17 +112,17 @@ check_setup() {
}
# Parse arguments (first character only)
case "${1:0:1}" in
case "${1}" in
# help
'h') usage;;
'help') usage;;
# create and edit new note
'n') new $@;;
'new') new $@;;
# edit an existing document or file
'e') edit $@;;
'edit') edit $@;;
# run a shell (cd to) in the directory
'c'|'x'|'s') shell;;
'cd'|'shell') shell;;
# me: edit ned (the file you are looking at)
'm') $EDITOR "$(realpath "$0")";;
'me') $EDITOR "$(realpath "$0")";;
*) echo "no such option";;
esac