diff --git a/system/.alias b/system/.alias index d385399..c4403bb 100755 --- a/system/.alias +++ b/system/.alias @@ -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_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'