dotfiles/system/.alias

27 lines
801 B
Plaintext
Executable File

alias ll="ls -lah"
alias ld="ls -ld */"
alias lf="find . -maxdepth 1 -type f -exec ls -lah \"{}\" \;"
alias ..="cd .."
alias ...="cd ../.."
alias ....="cd ../../.."
### Logout!
alias logout='sudo pkill -u $USER'
### Vagrant
alias vu='vagrant up --provision'
alias vp='vagrant provision'
alias vssh='vagrant ssh'
alias vd='vagrant destroy'
alias vc='vagrant destroy && vagrant up --provision'
### 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/'
alias roles_pull='for role in `ls ../../roles`; do echo "########" $role; echo `git -C ../../roles/$role pull`; done'