-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbash_aliases
36 lines (27 loc) · 909 Bytes
/
bash_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
# vim: ft=sh
alias ll='ls -lFh'
alias la='ls -A'
alias l='ls -CF'
# Add an "alert" alias for long running commands. Use like so:
# sleep 10; alert
alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"'
alias bye='exit'
if [ -f /usr/bin/ack-grep ]; then
alias ack='ack-grep'
fi
alias j='jobs'
alias g='grep'
# Git
alias commit='git commit'
alias checkout='git checkout'
alias pull='git pull'
alias push='git push'
alias lsv='git status'
alias ansible-vagrant='ansible-playbook -i .vagrant/provisioners/ansible/inventory/vagrant_ansible_inventory -u vagrant --private-key ~/.vagrant.d/insecure_private_key'
# Ruby
alias be='bundle exec'
# Buildzones
alias bz='bundle exec buildzone'
# Triton profiles
alias triton-jenkins='triton -p ovh-jenkins'
alias dk='chruby-exec 2.7.0 -- devkit'