diff options
author | Jacob Janzen <jacob.a.s.janzen@gmail.com> | 2024-10-01 20:09:04 -0500 |
---|---|---|
committer | Jacob Janzen <jacob.a.s.janzen@gmail.com> | 2024-10-01 20:09:04 -0500 |
commit | 25706c1435d2b16fa55233f8e4a5e499c715aa03 (patch) | |
tree | 96b64709f813c41ad9a2f9e82eb2709890f5e065 | |
parent | 0fcaa9bdf137de85fd405734c340fb9e08c3cf1f (diff) |
fix bug hopefully
-rwxr-xr-x | fix-dotfile-paths.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |