diff options
-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 |