feat(zsh): rm/mv safety aliases

This commit is contained in:
winston 2023-06-22 01:09:01 +02:00
parent 4394f0e847
commit 1f1ae32afc
Signed by: winston
GPG key ID: 3786770EDBC2B481

View file

@ -128,6 +128,9 @@ in {
if isDarwin
then "bat --theme=\$(defaults read -globalDomain AppleInterfaceStyle &> /dev/null && echo Catppuccin-mocha || echo Catppuccin-latte)"
else "bat";
cp = "cp -i";
mv = "mv -i";
rm = "rm -i";
# switch between yubikeys for the same GPG key
switch_yubikeys = ''gpg-connect-agent "scd serialno" "learn --force" "/bye"'';
tree = "lsd --tree";