forked from thoughtbot/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaliases
44 lines (36 loc) · 790 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
43
44
# 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"
# git
alias gci="git pull --rebase && rake && git push"
#tig
alias ts="tig status"
#yard server
alias ys="yard server -G"
# Bundler
alias b="bundle"
# Tests and Specs
alias t="ruby -I test"
alias cuc="bundle exec cucumber"
# Rubygems
alias gi="gem install"
alias giv="gem install -v"
# Rails
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"
# Include custom aliases
[[ -f ~/.aliases.local ]] && source ~/.aliases.local