helm/bin/rofi/file

7 lines
112 B
Bash
Executable file

#!/usr/bin/env sh
DIR="$(fd -L --type d . $HOME | rofi -dmenu)"
if [ -d "$DIR" ]; then
cd "$DIR"
xst
fi