-
Notifications
You must be signed in to change notification settings - Fork 1
/
aliases
42 lines (35 loc) · 852 Bytes
/
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
# Unix
alias tlf="tail -f"
alias ln='ln -v'
alias mkdir='mkdir -p'
alias ...='../..'
alias l='ls'
alias ll='ls -al'
alias lh='ls -Alh'
alias -g G='| grep'
alias -g M='| less'
alias -g L='| wc -l'
alias -g ONE="| awk '{ print \$1}'"
alias e="$EDITOR"
alias v="$VISUAL"
# rcm
alias rcupup="cd ~/.promptworks-dotfiles && git pull && rcup -v"
# git
alias gci="git pull --rebase && rake && git push"
alias ggrep="git grep --break --heading -n"
# Bundler
alias b="bundle"
# Tests and Specs
alias t="ruby -I test"
alias cuc="bundle exec cucumber"
# Rails
alias be="bundle exec"
alias rake="noglob rake"
alias migrate="rake db:migrate db:rollback && rake db:migrate db:test:prepare"
alias m="migrate"
alias rk="rake"
alias s="rspec"
alias z="zeus"
alias reload!='. ~/.zshrc'
# Include custom aliases
[[ -f ~/.aliases.local ]] && source ~/.aliases.local