From ae9d83809d2ab51481e655491630bbf4f3a5c57f Mon Sep 17 00:00:00 2001 From: Alexander Hosking Date: Mon, 4 Mar 2019 21:59:55 -0500 Subject: [PATCH] Add history aliases --- system/.alias | 5 +++++ 1 file changed, 5 insertions(+) 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'