Add history aliases

This commit is contained in:
Alexander Hosking 2019-03-04 21:59:55 -05:00
parent 8c20315d97
commit ae9d83809d

View File

@ -28,3 +28,8 @@ alias vpn_lyrical='cd /home/ahosking/lyrical/vpn &&sudo openvpn --config gw-udp-
alias roles_fetch='r10k puppetfile install --puppetfile Puppetfile --moduledir ../../roles/' 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 origin master`; done' alias roles_pull='for role in `ls ../../roles`; do echo "########" $role; echo `git -C ../../roles/$role pull origin master`; done'
## History
alias phgrep='cat ~/.persistent_history|grep --color'
alias hgrep='history|grep --color'
alias trimph='tail -20000 ~/.persistent_history | tee ~/.persistent_history'