From 606a0c6f663198f4da677efeb4743ce8edbda249 Mon Sep 17 00:00:00 2001 From: Thomas Syms Date: Wed, 20 Dec 2023 09:47:06 -0400 Subject: [PATCH] Removed RM alias --- home/shell/rip.nix | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/home/shell/rip.nix b/home/shell/rip.nix index d3182a4..ba46e3a 100644 --- a/home/shell/rip.nix +++ b/home/shell/rip.nix @@ -2,24 +2,4 @@ home.packages = with pkgs; [ rm-improved ]; - - # TODO: Replace this with confirm once packaged - home.shellAliases = { - confirm = '' - read -p "Are you sure? [y/N] " -n 1 -r - echo - if [[ $REPLY =~ ^[Yy]$ ]] - then - $argv - fi - ''; - - rm = '' - confirm rm $argv - ''; - - rmdir = '' - confirm rmdir $argv - ''; - }; }