diff options
author | Jacob Janzen <jjanzenn@proton.me> | 2024-08-08 20:09:45 -0500 |
---|---|---|
committer | Jacob Janzen <jjanzenn@proton.me> | 2024-08-08 20:09:45 -0500 |
commit | 3ef22923485e754e525a7af6ed7d0f7c036085d8 (patch) | |
tree | e50025ad7b25cdedbcb2f722220a33027a1077c8 /fix-dotfile-paths.sh | |
parent | d9ce5332998ac540c8b2fda4c82a071f81eec834 (diff) |
create root index
Diffstat (limited to 'fix-dotfile-paths.sh')
-rwxr-xr-x | fix-dotfile-paths.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fix-dotfile-paths.sh b/fix-dotfile-paths.sh index aa0197d..255e1b1 100755 --- a/fix-dotfile-paths.sh +++ b/fix-dotfile-paths.sh @@ -32,6 +32,8 @@ create_ls_entry () { cd ~/.dotfiles || exit START=$(pwd) +create_ls_entry "" + # iterate over all files except the .git/ directory and . find -- . -type d | sed '/^\.$/d' | sed '/^\.\/\.git\//d' | sed '/^\.\/.git/d' | while read -r dir; do cd "${dir}" || continue |