Fix duplicate directory suggestions
This commit is contained in:
parent
65173e6f75
commit
dd8d054b37
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ index fa1bec5..4d79e0b 100755
|
||||||
- # If someone wants to make this extensible, i'll accept
|
- # If someone wants to make this extensible, i'll accept
|
||||||
- # PR
|
- # PR
|
||||||
- selected=$(find ~/ ~/personal ~/personal/dev/env/.config -mindepth 1 -maxdepth 1 -type d | fzf)
|
- selected=$(find ~/ ~/personal ~/personal/dev/env/.config -mindepth 1 -maxdepth 1 -type d | fzf)
|
||||||
+ selected=$(find -L ~/Code ~/Code/os ~/Documents -maxdepth 1 -type d ! -name ".*" ! -name ".old" ! -name "_archive" | sort | fzf)
|
+ selected=$(find -L ~/Code ~/Code/os ~/Documents -maxdepth 1 -mindepth 1 -type d ! -name ".*" ! -name ".old" ! -name "_archive" | sort | fzf)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ -z $selected ]]; then
|
if [[ -z $selected ]]; then
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue