-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaliases
39 lines (31 loc) · 1.08 KB
/
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
# Shortcuts
alias ..="cd .."
alias b=bundle
alias be='bundle exec'
alias dc='docker-compose'
alias lg=lazygit
alias v=nvim
alias vim=nvim
# Wrappers
alias ctags="`brew --prefix`/bin/ctags"
alias ll="ls -lah"
alias scheme='rlwrap -r scheme'
alias tags='ctags -R --exclude=node_modules --exclude=.git --exclude=.gem .'
alias tmux='tmux -u'
# Magic
alias edit-pr='hub issue update $(hub pr list -h $(git rev-parse --abbrev-ref HEAD) | awk "{print $1}" | sed "s/#//") --edit'
alias flush-dns-cache='sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder'
# Navigation
alias dotf='cd ~/Projects/yboulkaid/dotfiles'
# Rails
alias log='tail -f log/development.log'
alias rc='bin/rails c'
alias rs='bin/rails s'
# s3cast
alias podcast='~/Projects/s3cast/main.py --profile podcasting --bucket "yboulkaid-bildspraket"'
# https://unix.stackexchange.com/questions/452865/are-there-any-disadvantages-of-setting-noclobber
alias cp='cp -i'
alias mv='mv -i'
# https://github.com/BurntSushi/ripgrep/issues/623
alias rg="rg --hidden --glob '!.git'"
alias nasel='ssh -t nas.el "cd /volume2/docker; bash --login"'