Solve circular rm aliases

Quentin Duchemin 2023-12-18 14:30:12 +01:00
parent bbd4981e42
commit 1655b9dde3
Signed by: Chosto
GPG Key ID: 96AB8AE7DFEA3D74
2 changed files with 1 additions and 2 deletions

View File

@ -3,5 +3,3 @@ alias ap='ansible-playbook'
alias yey='yay -Syu --noconfirm'
# Avoid losing stuff
alias rm='rmtrash'
# Permit to rm if sure
alias rrm='rm'

View File

@ -138,6 +138,7 @@ if [ ! -z "$INIT" ]; then
echo -e "* Ensure keyboard will still be in AZERTY mode when plugged/unplugged..."
# This creates a Xorg configuration file
sudo localectl --no-convert set-x11-keymap fr
echo -e "* Create a symlink rrm → rm (rm will be an alias to rmtrash) in zsh"
fi
if [ ! -z ${ENV} ]; then