-
Notifications
You must be signed in to change notification settings - Fork 1
/
aliases.local
43 lines (34 loc) · 896 Bytes
/
aliases.local
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
# Unix
alias ls='ls -G'
alias ll='ls -lahG'
alias d='date'
alias ...='cd ../..'
alias h='cd ~'
alias c='clear'
alias hibernate='sudo pm-hibernate'
alias tagrails='ctags -R --exclude=.git --exclude=log --exclude=app/assets --exclude=vendor'
# Ruby, Rails
alias be="bundle exec"
alias rdbc="be rails db:create"
alias rdbd="be rails db:drop"
alias rdbm="be rails db:migrate && be rails db:test:prepare"
alias rdbr="be rails db:rollback"
alias rdbs="be rails db:setup"
alias rg="rails generate"
alias rr="rails runner"
alias rc="rails console"
# alias rails="be rails"
# alias rspec="be rspec"
# alias cucumber="be cucumber"
#thefuck
# eval $(thefuck --alias)
# SpaceVim
alias svim='vim -u ~/.SpaceVim/vimrc'
# Python
# alias python='python3'
# alias pip='pip3'
# Docker
alias db='docker build'
alias dcu='docker-compose up'
alias dcd='docker-compose down'
alias dcud='docker-compose up -d'