1- # Example aliases
2- # Note format
3- # No spaces between name and string
1+ # Helpful aliases
2+ #
3+ # Example:
44# alias <name>=<string>
55
6+ # Variables used in file
7+ editor=" code"
8+
69# Navigation
7- alias ..=' cd ..'
10+ alias ..=" cd .."
811
9- # Default editor
10- editor=" code"
11- aliases_file=$dotfile_dir /aliases.sh
12+ alias dotfiles=" ${editor} $dotfile_dir "
13+ alias aliases=" ${editor} $dotfile_dir /aliases.sh"
1214
13- # Restarts shell
14- # Call after making changes w/o having to restart
15- alias refresh=" source ~/.zshrc && clear"
16- # alias r="refresh"
15+ # # Aliases shortcut
16+ alias a=" aliases"
17+ alias dots=" ~/dotfiles"
1718
18- # Google docs
19- alias doc=" python -mwebbrowser https://docs.google.com/create" # New google doc
20- alias docs=" python -mwebbrowser http://docs.google.com" # Main docs folder
19+ # Terminal Navigation
20+ alias la=" ls -a" # List all in directory
21+ alias o=" open ./" # Open - in finder
22+ alias cpr=" cp -rf" # Copy recursive
23+ alias rf=" rm -rf" # Remove recursive
24+ alias refresh=" source ~/.zshrc && clear" # Refresh the terminal
25+ alias r=" refresh" # Refresh shortcut
26+ alias t=" touch" # Make file
27+ alias ex=" exit" # Exit terminal
2128
22- # Git
23- alias conflicts=" git diff --name-only --diff-filter=U" # Does not push
24- alias no-edit=" git commit --amend --no-edit" # Does not push
25- alias last=" git log -1" # Show last change
26- alias rebase=" git fetch upstream && git rebase upstream/master" # Fetch and rebase
27- alias gcane! =" git add -A && git commit --amend --no-edit && git push -f"
29+ # Home Brew
30+ alias bri=" brew install"
31+ alias bric=" brew install --cask"
32+ alias brui=" brew uninstall"
2833
29- # Editors
30- alias cu=" cursor ."
34+ # Bun
35+ alias bi=" bun install"
36+ alias bs=" bun start"
37+ alias bd=" bun dev"
38+ alias bb=" bun build"
39+ alias bu=" bun uninstall"
40+
41+ # Dotfile shortcuts
42+ alias halp=" cat ~/dotfiles/aliases.sh"
43+ alias dot=" cd $dotfile_dir "
44+
45+ # Code editors
3146alias c=" code ."
32- alias v=" vim ."
47+ alias cu=" cursor ."
48+ alias v=" nvim"
3349
34- # Open dotfiles
35- alias dotfiles=" ${editor} $dotfile_dir "
50+ # Bookmarks
3651alias d=" dotfiles"
37- alias dots=" ~/dotfiles"
38- alias aliases=" ${editor} $aliases_file "
39- alias dot=" cd $dotfile_dir "
40- alias p=" cd ${work} "
41- alias halp=" cat ~/dotfiles/aliases.sh"
42- alias a=" aliases"
52+ alias p=" cd ~/Documents/Projects/"
53+ alias pp=" cd /Users/devin/Documents/Projects/portfolio\ v5"
54+ alias play=" cd /Users/devin/Documents/Projects/playground"
4355
44- # Created from bookmark or new-alias
45- alias v=" vim ."
56+ # Git
57+
58+ # Overhead
59+ alias gco=" git checkout" # Git checkout
60+ alias gcof=" git checkout --" # Checkout file
61+ alias conflicts=" git diff --name-only --diff-filter=U"
62+ alias no-edit=" git commit --amend --no-edit" # Does not push
63+ alias last=" git log -1" # Show last change
64+ alias rebase=" git fetch upstream && git rebase upstream/master" # Fetch and rebase
65+ alias gcane! =" git add -A && git commit --amend --no-edit && git push -f" # Git commit ammend no edit and force push
4666alias grc=" git rebase --continue"
47- alias nt=" npm test"
4867alias gfu=" git fetch upstream"
49- alias m=" git checkout master"
5068alias stash=" git stash"
5169alias ga=" git add ."
52- alias gcane=" commit --amend --no-edit"
5370alias gcane=" git commit --amend --no-edit"
54- alias clean=" rm -rf node_modules && yarn"
55- alias liquid-docs=" open https://shopify.github.io/liquid/tags/control-flow/"
5671alias diff=" git diff"
57- alias p=" cd ~/Documents/Projects/"
58- alias gco=" git checkout"
59- alias gcof=" git checkout --"
6072alias grem=" git remote"
6173alias gp=" git push"
6274alias gl=" git log -1"
63- alias yb=" yarn build"
64- alias rf=" rm -rf"
65- alias yys=" yarn && yarn start"
66- alias yc=" yarn clean"
67- alias e=" cd ~/Documents/Projects/evan-client"
68- alias ns=" npm start"
69- alias es=" cd ~/Documents/Projects/evan-server"
70- alias ea=" e && a"
7175alias conflicts=" git diff --name-only --diff-filter=U"
72- alias yd=" yarn dev"
7376alias gf=" git fetch"
74- alias gcc=" gcof ./src/config/axios.js"
7577alias gb=" git branch"
76- alias staging=" gco staging"
7778alias gac=" git add . && git commit -m"
7879alias gs=" git stash"
7980alias gfp=" git fetch && git pull"
80- alias yr=" yarn run"
81- alias yrw=" export ENVIRONMENT=windows&&sails lift"
82- alias wip=" gap ':construction:'"
83- alias ddac=" cd ~/Documents/Projects/dallas-design-and-code-slides"
84- alias mk=" mkdir ${2} && cd ${2} "
85- alias ea=" cd ~/Documents/Projects/mk/electron-app"
8681alias gm=" git merge -m ':octocat:'"
87- alias bsw=" cd ~/Documents/Projects/bisonstudio-v2.0"
88- alias rm! =" rm -rf"
8982alias grs=" git rebase origin/staging"
9083alias gd=" git diff"
91- alias gcat=" gap ':octocat:'"
9284alias undo=" git reset HEAD~1"
93- alias rs=" cd ~/Documents/Projects/React-Wordpress-Starter-Kit"
9485alias sparkles=" git add . && git commit -m ':sparkles: ' && git push"
86+ alias status=" git status"
87+ alias gcm=" git commit -m"
88+ alias grm=" git rebase main"
89+ alias gr=" git checkout ." # Reset a file
90+ alias clone=" git clone"
91+ alias gc=" git clone" # Calls native git clone
92+ alias cl=" git-clone" # Calls git-clone function (clone and cd)
93+
94+ # Branch shortcuts
9595alias s=" git checkout staging"
96- alias r! =" rm -rf"
97- alias build=" yarn build"
98- alias cpr=" cp -rf"
99- alias s=" python -m http.server"
100- alias la=" ls -a"
96+ alias staging=" gco staging"
97+ alias m=" git checkout master"
98+
99+ # Quick pushes
100+ alias wip=" gap ':construction:'"
101+ alias gcat=" gap ':octocat:'"
102+
103+
104+ # Ghostty
105+ alias gho=" ghostty"
106+ alias gk=" ghostty +list-keybinds"
107+
108+ # NPM
109+ alias nt=" npm test"
110+ alias ns=" npm start"
111+ alias nd=" npm run dev"
112+ alias nb=" npm run build"
113+ alias nw=" npm run web"
114+ alias nee=" npm run test:e2e"
115+ alias nu=" npm uninstall"
116+ alias nrd=" npm run dev"
117+ alias ni=" npm install"
118+ alias naf=" npm audit fix"
119+ alias jc=" npx jest --coverage"
120+
121+ # PNPM
122+ alias ps=" pnpm start"
123+ alias pd=" pnpm dev"
124+ alias pi=" pnpm install"
125+ alias pn=" pnpm"
126+ alias pb=" pnpm build"
127+ alias pr=" pnpm run"
128+
129+ # Google docs
130+ alias doc=" python3 -mwebbrowser https://docs.google.com/create" # New google doc
131+ alias docs=" python3 -mwebbrowser http://docs.google.com" # Main docs folder
132+
133+ # Simple http.server
134+ alias s=" python3 -m http.server"
135+
136+ # Python
137+ alias py=" python3"
138+
139+ # Clean Modules (and run yarn)
140+ alias clean=" rm -rf node_modules && yarn"
141+
142+ # Yarn
101143alias y=" yarn"
144+ alias yb=" yarn build"
145+ alias yys=" yarn && yarn start"
146+ alias yc=" yarn clean"
147+ alias yd=" yarn dev"
148+ alias yr=" yarn run"
102149alias yrd=" yarn run dev"
103- alias status=" git status"
104- alias rmr=" rm -rf"
105150alias ys=" yarn start"
106- alias gcm=" git commit -m"
107151alias yd=" yarn dev"
108152alias yb=" yarn build"
109153alias ya=" yarn add"
110- alias t=" touch"
111154alias yt=" yarn test"
112155alias yad=" yarn add --dev"
113- alias nd=" npm run dev"
114- alias nb=" npm run build"
115- alias grm=" git rebase main"
116- alias nw=" npm run web"
117- alias jc=" npx jest --coverage"
118- alias nee=" npm run test:e2e"
119156alias yt=" yarn test"
120157alias yw=" yarn web"
121- alias w=" yarn web"
122158alias e2=" yarn test:e2e"
123- alias xx=" cd /Users/devin/Documents/Projects/expo-expo"
124- alias gr=" git checkout ."
125- alias clone=" git clone"
126159alias yl=" yarn lint"
127- alias pp=" cd /Users/devin/Documents/Projects/portfolio\ v5"
128- alias con=" cd /Users/devin/Documents/Projects/conmigo"
129- alias ynb=" yarn next:build"
130160alias yn=" yarn next"
131- alias ap=" cd /Users/devin/Documents/Projects/conmigo2/packages/app"
132- alias aapi=" cd /Users/devin/Documents/Projects/conmigo2/packages/api"
133- alias adb=" cd /Users/devin/Documents/Projects/conmigo2/packages/db"
161+ alias ynb=" yarn next:build"
134162alias yg=" yarn db:generate"
135163alias yp=" yarn db:push"
136164alias yfd=" yarn functions:deploy"
@@ -140,23 +168,6 @@ alias ydp="yarn db:push"
140168alias yad=" yarn add -D"
141169alias ydg=" yarn db:generate"
142170alias ytg=" yarn test grep"
143- alias nu=" npm uninstall"
144- alias ps=" pnpm start"
145- alias pd=" pnpm dev"
146- alias pi=" pnpm install"
147- alias trr=" cd /Users/devin/Documents/Projects/turbo-repo-research"
148- alias pn=" pnpm"
149- alias pb=" pnpm build"
150171alias yi=" yarn install"
151- alias nrd=" npm run dev"
152- alias apc=" cd /Users/devin/Documents/Projects/agency-price-calculator"
153- alias ni=" npm install"
154- alias gc=" git clone"
155- alias pr=" pnpm run"
156- alias naf=" npm audit fix"
157- alias o=" open ./"
158- alias bi=" bun install"
159- alias bs=" bun start"
160- alias bd=" bun dev"
161- alias bb=" bun build"
162- alias bu=" bun uninstall"
172+
173+ # New
0 commit comments