@@ -1,83 +1,86 @@ |
| | 1 | +# |
| | 2 | +# NOTE: aliases now managed by my CLI tool, shtick. |
| | 3 | +# see shtick folder |
| 1 | | 4 | |
| | 5 | +# alias pls="sudo !!" |
| 2 | | 6 | |
| 3 | -alias pls="sudo !!" | 7 | +# # ::: |
| 4 | - | 8 | +# # :::: shelly :::: |
| 5 | -# ::: | 9 | +# # ::::: :::::: ::::: |
| 6 | -# :::: shelly :::: | 10 | +# # |
| 7 | -# ::::: :::::: ::::: | 11 | +# alias refresh="source ${HOME}/.zshrc" |
| 8 | -# | 12 | +# alias zconfig="micro ${HOME}/.zshrc || ${EDITOR} ${HOME}/.zshrc" |
| 9 | -alias refresh="source ${HOME}/.zshrc" | | |
| 10 | -alias zconfig="micro ${HOME}/.zshrc || ${EDITOR} ${HOME}/.zshrc" | | |
| 11 | | 13 | |
| 12 | | 14 | |
| 13 | -# ::: | 15 | +# # ::: |
| 14 | -# :::: navigation :::: | 16 | +# # :::: navigation :::: |
| 15 | -# ::::: :::::::::: ::::: | 17 | +# # ::::: :::::::::: ::::: |
| 16 | -# | 18 | +# # |
| 17 | -# NOTE: this actually only worked in fish | 19 | +# # NOTE: this actually only worked in fish |
| 18 | -# but I've rewritten `up` as a shell function | 20 | +# # but I've rewritten `up` as a shell function |
| 19 | -# found in $ZSH_CUSTOM/function.zsh | 21 | +# # found in $ZSH_CUSTOM/function.zsh |
| 20 | -# NOTE: the short circuit wont work in bash | 22 | +# # NOTE: the short circuit wont work in bash |
| 21 | -# and (may??) not ALWAYS work in zsh (or fish) | 23 | +# # and (may??) not ALWAYS work in zsh (or fish) |
| 22 | -# | 24 | +# # |
| 23 | -# so what's the point? | 25 | +# # so what's the point? |
| 24 | -# well with the short circuit you can do: | 26 | +# # well with the short circuit you can do: |
| 25 | -# | 27 | +# # |
| 26 | -# >>> up up up | 28 | +# # >>> up up up |
| 27 | -# | 29 | +# # |
| 28 | -# which will correctly change dirs to ../../../ | 30 | +# # which will correctly change dirs to ../../../ |
| 29 | -# | 31 | +# # |
| 30 | -alias bk="- || cd -" | 32 | +# alias bk="- || cd -" |
| 31 | -# alias up="../ || cd ../" | 33 | +# # alias up="../ || cd ../" |
| 32 | -alias goclass="cd ${HOME}/Documents/Class/" | 34 | +# alias goclass="cd ${HOME}/Documents/Class/" |
| 33 | -alias goproj="cd ${HOME}/Documents/Project/" | 35 | +# alias goproj="cd ${HOME}/Documents/Project/" |
| 34 | -alias goorg="cd ${HOME}/Documents/GithubOrgs/" | 36 | +# alias goorg="cd ${HOME}/Documents/GithubOrgs/" |
| 35 | -alias goterse="cd ${HOME}/Documents/GithubOrgs/tenselyflow" | 37 | +# alias goterse="cd ${HOME}/Documents/GithubOrgs/tenselyflow" |
| 36 | -alias godot="cd ${HOME}/Documents/GithubOrgs/tenselyflow/ndotfiles" | 38 | +# alias godot="cd ${HOME}/Documents/GithubOrgs/tenselyflow/ndotfiles" |
| 37 | | 39 | |
| 38 | -# ::: | 40 | +# # ::: |
| 39 | -# :::: python things :::: | 41 | +# # :::: python things :::: |
| 40 | -# ::::: ::::::::::::: ::::: | 42 | +# # ::::: ::::::::::::: ::::: |
| 41 | -# | 43 | +# # |
| 42 | -alias setpy="asdf set python" | 44 | +# alias setpy="asdf set python" |
| 43 | -alias mange="python manage.py" | 45 | +# alias mange="python manage.py" |
| 44 | | 46 | |
| 45 | -# ::: | 47 | +# # ::: |
| 46 | -# :::: nodey things :::: | 48 | +# # :::: nodey things :::: |
| 47 | -# ::::: nodey things ::::: | 49 | +# # ::::: nodey things ::::: |
| 48 | -# | 50 | +# # |
| 49 | -alias ni="npm --install" | 51 | +# alias ni="npm --install" |
| 50 | -alias setnode="asdf set nodejs" | 52 | +# alias setnode="asdf set nodejs" |
| 51 | | 53 | |
| 52 | -# ::: | 54 | +# # ::: |
| 53 | -# :::: gitty :::: | 55 | +# # :::: gitty :::: |
| 54 | -# ::::: ::::: ::::: | 56 | +# # ::::: ::::: ::::: |
| 55 | -# | 57 | +# # |
| 56 | -alias gad="git add" | 58 | +# alias gad="git add" |
| 57 | -alias gas="git status" | 59 | +# alias gas="git status" |
| 58 | -alias gall="git add --all" | 60 | +# alias gall="git add --all" |
| 59 | -alias gcomm="git commit --message" | 61 | +# alias gcomm="git commit --message" |
| 60 | -alias gpull="git pull origin trunk" | 62 | +# alias gpull="git pull origin trunk" |
| 61 | -alias gputt="git push origin trunk" | 63 | +# alias gputt="git push origin trunk" |
| 62 | -alias gcamm="git commit --all --message" | 64 | +# alias gcamm="git commit --all --message" |
| 63 | -alias glogg="git log --online --graph --decorate --all" | 65 | +# alias glogg="git log --online --graph --decorate --all" |
| 64 | | 66 | |
| 65 | -# ::: | 67 | +# # ::: |
| 66 | -# :::: make :::: | 68 | +# # :::: make :::: |
| 67 | -# ::::: :::: ::::: | 69 | +# # ::::: :::: ::::: |
| 68 | -# | 70 | +# # |
| 69 | -alias mk="make" | 71 | +# alias mk="make" |
| 70 | -alias mka="make all" | 72 | +# alias mka="make all" |
| 71 | -alias mkr="make run" | 73 | +# alias mkr="make run" |
| 72 | -alias mkt="make test" | 74 | +# alias mkt="make test" |
| 73 | -alias mkc="make clean" | 75 | +# alias mkc="make clean" |
| | 76 | +# alias mki="make install" |
| 74 | | 77 | |
| 75 | -# ::: | 78 | +# # ::: |
| 76 | -# :::: other :::: | 79 | +# # :::: other :::: |
| 77 | -# ::::: ::::: ::::: | 80 | +# # ::::: ::::: ::::: |
| 78 | -# | 81 | +# # |
| 79 | -alias gfort="gfortran" | 82 | +# alias gfort="gfortran" |
| 80 | -alias brewup="brew update && brew upgrade && brew cleanup" | 83 | +# alias brewup="brew update && brew upgrade && brew cleanup" |
| 81 | | 84 | |
| 82 | | 85 | |
| 83 | | 86 | |