From 1655b9dde3512046020dd58ed4b36c336ab5d6b3 Mon Sep 17 00:00:00 2001 From: Quentin Duchemin Date: Mon, 18 Dec 2023 14:30:12 +0100 Subject: [PATCH] Solve circular rm aliases --- .aliases | 2 -- .init_config.sh | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.aliases b/.aliases index 04d3faa..6155689 100644 --- a/.aliases +++ b/.aliases @@ -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' diff --git a/.init_config.sh b/.init_config.sh index 4fc6a2a..8ea430d 100755 --- a/.init_config.sh +++ b/.init_config.sh @@ -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