]>
Commit | Line | Data |
---|---|---|
fa250235 BB |
1 | # File operations |
2 | alias cp="cp -i" | |
3 | alias mv="mv -i" | |
4 | alias rm="rm -i" | |
5 | alias ls="ls -FG" | |
6 | ||
7 | # Lazy rgs | |
8 | alias rgjs="rg -g '*.js' -g '*.svelte' -g '*.vue'" | |
9 | alias rgrb="rg -g '*.rb'" | |
10 | alias rgcss="rg -g '*.css'" | |
11 | ||
12 | # tmux | |
13 | alias ta="tmux attach -t" | |
14 | alias tn="tmux new -s" | |
15 | ||
16 | # Simple python server | |
b945717b | 17 | alias spawn-server="python -m http.server 9000" |
fa250235 BB |
18 | |
19 | # Git aliases | |
20 | alias g='git' | |
21 | alias gst="git status" | |
22 | alias gss="gst --short" | |
23 | alias gL="git log --graph --decorate" | |
24 | alias gc='git commit --verbose' | |
889954ad | 25 | alias gco='git checkout' |
fa250235 BB |
26 | alias gl="git pull" |
27 | alias gm='git merge' | |
28 | alias gp='git push' | |
29 | ||
30 | # Graphicsmagick override | |
0c7ba6eb RBR |
31 | if command -v brew &> /dev/null; then |
32 | alias grm="$(brew --prefix)/bin/gm" | |
33 | fi | |
fa250235 BB |
34 | |
35 | # JS friendly tree | |
d1d7b859 | 36 | alias arbol="tree -I 'node_modules|bower_components|doc|__pycache__|\.pyc'" |
fa250235 BB |
37 | |
38 | # Load Script Version Managers because they slow | |
39 | alias enable-nvm='source $(brew --prefix nvm)/nvm.sh' | |
40 | alias workon="echo 'DISABLED: run enable-virtualenvwrapper to enable'" | |
41 | alias enable-virtualenvwrapper="unalias workon; source /usr/local/bin/virtualenvwrapper.sh" | |
42 | alias enable-rvm="source $HOME/.rvm/scripts/rvm" | |
4c76e4aa | 43 | alias t="things.sh" |