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