dotfiles/.local/bin/scripts/zf
xeruf f334607d4f config/shell: expand zoxide & clean functions
- d/di alias based on zf, locz and zfz
- update clean function
2021-07-25 23:46:46 +02:00

8 lines
162 B
Bash
Executable file

#!/bin/sh
# Listing for quick directory switcher based on zoxide and fzf
if test -d "$1" -o "$1" = "-"
then echo "$@"
else
set -o noglob
zoxide query -sl "$@"
fi