dotfiles/system/.alias

27 lines
801 B
Plaintext
Raw Normal View History

2017-03-05 19:27:18 +00:00
alias ll="ls -lah"
2017-02-27 06:49:09 +00:00
alias ld="ls -ld */"
2017-03-05 19:27:18 +00:00
alias lf="find . -maxdepth 1 -type f -exec ls -lah \"{}\" \;"
2017-02-27 06:49:09 +00:00
alias ..="cd .."
alias ...="cd ../.."
alias ....="cd ../../.."
### Logout!
alias logout='sudo pkill -u $USER'
2017-02-27 06:49:09 +00:00
### Vagrant
2017-03-14 16:15:02 +00:00
alias vu='vagrant up --provision'
2017-02-27 06:49:09 +00:00
alias vp='vagrant provision'
alias vssh='vagrant ssh'
alias vd='vagrant destroy'
alias vc='vagrant destroy && vagrant up --provision'
2017-05-09 15:06:06 +00:00
### Git
alias git_clean='git fetch --all && git reset --hard origin/master'
### Lyrical
alias vpn_lyrical='cd /home/ahosking/lyrical/vpn &&sudo openvpn --config gw-udp-1194-ahosking-vpn.ovpn'
alias roles_fetch='r10k puppetfile install --puppetfile Puppetfile --moduledir ../../roles/'
2017-07-04 18:40:12 +00:00
alias roles_pull='for role in `ls ../../roles`; do echo "########" $role; echo `git -C ../../roles/$role pull`; done'