forked from kennyadsl/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
aliases.local
66 lines (57 loc) · 1.76 KB
/
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
alias zshconfig="atom ~/.zshrc"
alias reload="source ~/.zshrc"
alias b="bundle"
alias be="bundle exec"
alias bo="bundle open"
alias bs="bundle show"
alias bu="bundle update"
alias bus="bundle update --source"
alias fs="foreman start"
alias sidekill="ps -ef | grep sidekiq | grep -v grep | awk '{print $2}' | xargs kill -9"
alias a="atom ."
alias berc="./bin/rails c"
alias bers="./bin/rails s"
alias bersbind="./bin/rails s -b `ifconfig en0 | grep netmask | awk '{print $2}'`"
alias berspec="./bin/rspec"
# When a gem is used locally it will not be possible to update it without unsetting it to be used locally
# This function will:
# - unset the gem as local
# - update the gem with --source option
# - set the gem as local again
busl () { bundle config --delete local.$* && bundle update --source $* && bundle config local.$* ../$* }
# 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 gbrs="g browse"
# Bundler
alias b="bundle"
alias be="bundle exec"
#Invoker
alias ik="invoker"
alias iks="invoker start invoker.ini"
alias ikr="invoker remove"
alias ika="invoker add"
alias ikl="invoker list"
alias dotfiles="cd ~/.dotfiles"
#Nebulab
alias squad="cd ~/Code/squad"
alias floyd="cd ~/Code/floyd"
#developpaolo
alias souleloquy="cd ~/Code/developaolo/souleloquy"
alias vue_projects="cd ~/Code/developaolo/vue_projects"
alias tourcms_booking_plugin="cd /Applications/MAMP/htdocs/venice-carnival-2/wp-content/plugins/tourcms-booking"
alias venice_carnival="cd /Applications/MAMP/htdocs/venice-carnival-2"
#games
alias tetris="~/Code/developaolo/tinytetris/tinytetris"