commit f19d47d85e0d116c6bc5e08973e83a600b74ad08 parent cbfce40c72077d17795042b36eb809b20dd2ffd5 author: nathanael <nathanael@dalliard.ch> date: Fri, 17 Oct 2025 15:33:09 +0000 s0: add bin fdel diffstat:
| A | s0/dotfiles/bin/fdel | | | 5 | +++++ |
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/s0/dotfiles/bin/fdel b/s0/dotfiles/bin/fdel @@ -0,0 +1,5 @@ +#!/bin/sh +file=$(cat /tmp/filepath.txt) +[ -f "$file" ] && { + rm -i "$file" +}