]> git.r.bdr.sh - rbdr/dotfiles/blob - zsh/modules/aliases.zsh
Remove prezto
[rbdr/dotfiles] / zsh / modules / aliases.zsh
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
17 alias spawn-server="python -m SimpleHTTPServer"
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'
25 alias gl="git pull"
26 alias gm='git merge'
27 alias gp='git push'
28
29 # Graphicsmagick override
30 alias grm="/usr/local/bin/gm"
31
32 # JS friendly tree
33 alias arbol="tree -I 'node_modules|bower_components|doc'"
34
35 # Load Script Version Managers because they slow
36 alias enable-nvm='source $(brew --prefix nvm)/nvm.sh'
37 alias workon="echo 'DISABLED: run enable-virtualenvwrapper to enable'"
38 alias enable-virtualenvwrapper="unalias workon; source /usr/local/bin/virtualenvwrapper.sh"
39 alias enable-rvm="source $HOME/.rvm/scripts/rvm"