-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaliases.local
76 lines (73 loc) · 2.59 KB
/
aliases.local
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
# alias todo='$EDITOR ~/.todo'
alias a='ls -lrthG'
alias -g G='| grep'
alias -g L='| less'
alias -g M='| more'
alias aliases='vim ~/.aliases.local'
alias amend="git commit --amend"
alias c='cd'
alias d='cd ~/dotfiles'
alias dl='cd ~/dotfiles-local'
alias dbprep='rdm && rdtp'
alias todo='vim ~/code/Notes/todo.md'
alias start='vim ~/code/Notes/day-start-checklist.md'
alias notes="cd ~/code/Notes ; vim ."
alias code='cd ~/code'
alias gclean="git branch | grep -v -E (main|master|staging|develop) | xargs git branch -D"
alias gua="ls | xargs -P10 -I{} git -C {} pull"
alias gmc-staging="ls | xargs -P10 -I{} git -C {} checkout staging"
alias gmc-master="ls | xargs -P10 -I{} git -C {} checkout master"
alias gmc-main="ls | xargs -P10 -I{} git -C {} checkout main"
alias gad='git add --all .'
alias gag='git add . && git commit --amend --no-edit && git push -f'
alias gbc='gdc'
alias gca='git commit -a'
alias gcaa='git commit -a --amend -C HEAD'
alias gcl='git clone'
alias gcm="git commit -m"
alias gco='git checkout'
alias gd='git diff'
alias gdc='git diff --cached'
alias gdm='git diff master'
alias gg='git lg'
alias gp='git push'
alias gpr='git pull --rebase'
alias gpush='echo "Use gp!" && git push'
alias grc='git rebase --continue'
alias gs='git show'
alias m='git checkout master'
alias mm='git checkout main'
alias mastre='master'
alias newscreen="tmux"
alias remore='!! | more'
alias repush="gpr && git push"
alias restart_postgres="stoppostgres && startpostgres"
alias retag='ctags -R --exclude=.svn --exclude=.git --exclude=log --exclude=tmp *'
alias review="git diff master"
alias safepush='git pull --rebase && mix deps.get && git push'
alias so='source ~/.aliases'
alias sp='safepush'
alias squash='git rebase -i master'
alias stage='git push staging head:master && staging open'
alias startredis='redis-server /usr/local/etc/redis.conf &'
alias sync='git add -u . && git commit -m "Minor changes. Commit message skipped." && repush'
alias track='git checkout -t'
alias trs='tmux rename-session'
alias u='cd ..'
# Elixir Aliases
alias mdg='mix deps.get'
alias mt='mix test'
alias mdu='mix deps.update --all'
alias mps='mix phx.server'
alias ism='iex -S mix'
alias repry='fc -e - mix\ test=iex\ -S\ mix\ test\ --trace mix\ test'
# Go-lang Aliases
alias gup="go get -u ./..."
alias gup-tests="go get -t -u ./..."
alias glist="go list -u -m all"
alias lavender='cd ~/.asdf/installs/golang/1.24.1/packages/src/lavender'
alias dashboard='cd ~/code/lavender/Dashboard'
alias go-packages="cd ~/.asdf/installs/golang/1.24.1/packages"
alias gts="gotestsum"
alias go-test="go test -v ./..."
alias killGO='lsof -t -i :5000 | xargs kill -9'