From 7113a95aad171354c0b0eeba4edb4a8e4219ece2 Mon Sep 17 00:00:00 2001 From: dl92 Date: Sun, 7 Dec 2025 23:22:48 +0000 Subject: [PATCH] add rmf function remove multiple files --- home/.zshrc | 4 ++++ home/bash-config/rc.functions | 3 +++ 2 files changed, 7 insertions(+) diff --git a/home/.zshrc b/home/.zshrc index 01502c1..0af0a0a 100644 --- a/home/.zshrc +++ b/home/.zshrc @@ -82,3 +82,7 @@ else fi unset __mamba_setup # <<< mamba initialize <<< + +export NVM_DIR="$HOME/.nvm" +[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm +[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion diff --git a/home/bash-config/rc.functions b/home/bash-config/rc.functions index e69de29..b022ca3 100644 --- a/home/bash-config/rc.functions +++ b/home/bash-config/rc.functions @@ -0,0 +1,3 @@ +rmf() { + fzf -m | xargs -0 -I {} rm {} +}