This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# unset a enviroment variable, see if rage works and restore the variable. | |
# when $PATH is unset all breaks down. | |
# readlink -f resolves to coreutils | |
tee=$(readlink $(which tee)) | |
nix=$(readlink $(which nix)) | |
rage_bin="/nix/store/176fb66dbfj3294chdnha0nlqyj3n3ax-rage-0.9.0/bin/rage" | |
#rage_bin="$nix run nixpkgs#rage --" | |
cmd="$rage_bin -d -i id_ed25519 test.txt.age" |