-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.osx_aliases
74 lines (66 loc) · 1.72 KB
/
.osx_aliases
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
# basics
########
alias be='bundle exec'
alias brave='open -a Brave'
alias bu='brew update | tee ${HOME}/.brew_update_log && brew upgrade | tee ${HOME}/.brew_upgrade_log'
alias clera='clear'
alias dds='find . -name .DS_Store | xargs rm'
alias f='find . -name'
alias ot='open -a TextEdit'
alias excel='open -a Microsoft\ Excel'
alias preview='open -a preview'
alias utc='date -u +"%Y-%m-%dT%H:%M:%SZ"'
alias ll='ls -lhtr'
alias h='history'
alias eighty='echo ........10........20........30........40........50........60........70........80'
# git
#####
alias b='git branch'
alias co='git checkout'
alias co-='git checkout --'
alias d='git diff'
alias g.='git add .'
alias g='git'
alias ga='git add'
alias ga-p='git add -p'
alias gcm='git commit --verbose'
alias ggrep='git grep'
alias glog='git glog'
alias gph='git push'
alias gph-f='git push --force-with-lease'
alias gpl='git pull'
alias pd='git patdiff'
alias st='git status'
# tmux
######
alias ta='tmux attach -t'
alias tl='tmux list-sessions'
alias tmid='tmate show-messages'
alias wrok='work'
# postgresql
############
alias pgup='pg_ctl -D /usr/local/var/postgres start'
alias pgdown='pg_ctl -D /usr/local/var/postgres stop'
# clojure
#########
alias ltr='lein test-refresh :changes-only'
alias lf='lein cljfmt fix'
alias node-cljs='clj -m cljs.main --repl-env node'
alias br='rlwrap bb repl'
# javascript
############
alias ntw='npm run test -- --watch'
if [ $(command -v rlwrap) ]; then
alias node='NODE_NO_READLINE=1 rlwrap node'
fi
# ruby
# ####
alias rc='rubocop --auto-correct'
# minecraft
# #########
alias minecraft-server='java -Xmx1024M -Xms1024M -jar minecraft_server.1.16.2.jar nogui'
# elixir
# ######
alias ism='iex -S mix'
alias mr='mix run --no-halt'
alias mps='mix phx.server'