Add rot13 command
authorColin P. Mccabe <colin@cmccabe.xyz>
Wed, 8 Aug 2018 18:00:00 +0000 (11:00 -0700)
committerColin P. Mccabe <colin@cmccabe.xyz>
Wed, 8 Aug 2018 18:00:00 +0000 (11:00 -0700)
.bashrc

diff --git a/.bashrc b/.bashrc
index 915664e..1d7c5be 100644 (file)
--- a/.bashrc
+++ b/.bashrc
@@ -34,6 +34,7 @@ case $- in
        alias grep='grep --color=tty -d skip'
         alias bterm='xterm -fn "-adobe-courier-bold-r-normal--34-240-100-100-m-200-iso8859-1" -geometry 60x30-50-50'
         alias mplayer="mplayer -fs -ac a52,"
+       alias rot13="tr '[A-Za-z]' '[N-ZA-Mn-za-m]'"
        export PATH="${HOME}/cmccabe-bin:${PATH}"
     [ -d "${HOME}/cmccabe-hbin" ] && export PATH="${PATH}:${HOME}/cmccabe-hbin"
        export EDITOR="/usr/bin/vim -X"