From 25706c1435d2b16fa55233f8e4a5e499c715aa03 Mon Sep 17 00:00:00 2001 From: Jacob Janzen Date: Tue, 1 Oct 2024 20:09:04 -0500 Subject: fix bug hopefully --- fix-dotfile-paths.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fix-dotfile-paths.sh b/fix-dotfile-paths.sh index ae5162e..e17980a 100755 --- a/fix-dotfile-paths.sh +++ b/fix-dotfile-paths.sh @@ -17,7 +17,7 @@ create_ls_entry () { echo '* Files' >> index.org echo "$files" | sort | while read -r file; do if echo $file | grep -q '^\.'; then - tmp=$(echo "$file" | sed 's/^\.//' | sed 's/$/.hidden/') + tmp=$(echo "$file" | sed 's/^\.//' | sed 's/.org$/.hidden.org/') mv $file $tmp fi if [ "$file" = ".wallpaper" ]; then -- cgit v1.2.3