diff options
author | Peter Palfrader <peter@palfrader.org> | 2008-05-31 11:14:59 +0000 |
---|---|---|
committer | weasel <weasel@bc3d92e2-beff-0310-a7cd-cc87d7ac0ede> | 2008-05-31 11:14:59 +0000 |
commit | 7b16ace5f7a4c8890d34c12bb5e33d51875144fb (patch) | |
tree | ed3dca02e8057dc6df505777d949d37f284968da /zshrc | |
parent | f11d2b6c9dde95c214b8f219d2c52cbfe5f18636 (diff) |
Add 16264
git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@353 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
Diffstat (limited to 'zshrc')
-rw-r--r-- | zshrc | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -181,6 +181,7 @@ alias rot13='tr a-zA-Z n-za-mN-ZA-M' #alias xlock='ssh-add -D && xlock -mode blank' #alias 64216="base64-decode | perl -e 'undef \$/; \$a=<>; print unpack(\"H\*\", \$a),\"\n\";'" alias 64216='perl -MMIME::Base64 -e "print unpack(\"H*\", decode_base64(<>)),\"\n\""' +alias 16264='perl -MMIME::Base64 -e "\$l=<>; chomp \$l; print encode_base64(pack(\"H*\", \$l)),\"\n\""' alias base64-encode='perl -MMIME::Base64 -e "print encode_base64(<>)"' alias base64-decode='perl -MMIME::Base64 -e "print decode_base64(<>)"' |