diff --git a/zsh/.zshrc b/zsh/.zshrc index a966ce0..b0ee51f 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -90,9 +90,17 @@ function zvm_after_init() { # Use FZY instead of FZF for ctrl-t function find_files() { zle -I - PATHS=$(fd -H . ~/Workspace -t d -d 5) + PATHS=$(fd -H . /home/server/Workspace -t d -d 5) if [ -d ~/Containers ]; then - PATHS="$PATHS $(fd -H . ~/Containers -t d -d 2)" + PATHS="$PATHS\n$(fd -H . ~/Containers -t d -d 2)" + fi + if [ -d /RAID/10/Shared\ Storage/ ]; then + PATHS="$PATHS\n/RAID/10/Shared Storage/Thomas" + PATHS="$PATHS\n$(fd -H . /RAID/10/Shared\ Storage -t d -d 2)" + fi + if [ -d /RAID/10/Private\ Storage/Thomas ]; then + PATHS="$PATHS\n/RAID/10/Private Storage/Thomas" + PATHS="$PATHS\n$(fd -H . /RAID/10/Private\ Storage/Thomas -t d -d 1)" fi BUFFER=cd "$(echo $PATHS | fzy -l 20)" zle accept-line