bash: add rot13 and rot135 aliases
authorJulien Moutinho <julm+julm-nix@sourcephile.fr>
Fri, 8 Sep 2023 21:30:03 +0000 (23:30 +0200)
committerJulien Moutinho <julm+julm-nix@sourcephile.fr>
Fri, 8 Sep 2023 21:30:03 +0000 (23:30 +0200)
home-manager/profiles/bash.nix

index 60dc75f69eef19c3e0edba4875a6b06d4d37bce3..dde00867e63a8fb363110548e8ed3802d9a74f28 100644 (file)
@@ -29,6 +29,8 @@ with lib;
       nixos-rollback = "sudo nixos-rebuild switch --rollback";
       pass-gen = "tr -d -C A-Za-z0-9_- </dev/urandom | head -c";
       r = "reset";
+      rot13 = "tr A-Za-z N-ZA-Mn-za-m";
+      rot135 = "tr A-Za-z0-9 N-ZA-Mn-za-m5-90-4";
       rsync = "rsync --no-inc-recursive --info=progress2 --inplace --partial";
       s = "sudo systemctl";
       st = "sudo systemctl status";