Copied bash scripts and fixed shebangs

This commit is contained in:
Wryn Wagner
2019-12-02 10:16:05 -07:00
parent f5b9664b6b
commit 67e48cb7bc
12 changed files with 443 additions and 0 deletions

16
zsh/utility Normal file

@@ -0,0 +1,16 @@
#!/bin/zsh
# --- Note-taking facilitated ---------------------------------
NOTE_PATH='/Users/w0ryn/Documents/notes';
NOTE_EXTENSION='.txt';
alias mynotes='cd $NOTE_PATH';
function note() { vim $NOTE_PATH/$1$NOTE_EXTENSION; }
function notes() { NOTE="$NOTE_PATH/$1$NOTE_EXTENSION"; [ $1 ] && [ -f $NOTE ] && vim $NOTE || vim $NOTE_PATH; }
# --- GIT -----------------------------------------------------
alias gitbranchcleanup='git branch -d $(git branch | sed -E "/develop|master|\*/d")'
alias pd='pushd';
alias qd='popd';
alias ds='dirs';