Fixed dmenu_edit

This commit is contained in:
Clay Gomera 2022-07-01 20:51:53 -04:00
parent ccdf0b8a1c
commit 986629c4ba

View file

@ -9,7 +9,7 @@ EDITOR="emacsclient -c -a emacs"
cd "$HOME" || exit 0 cd "$HOME" || exit 0
file=1 file=1
while [ "$file" ]; do while [ "$file" ]; do
file=$(fd -LHpd 1 | /usr/bin/dmenu -l 10 -p "File to edit: $(basename $(pwd))") file=$(fd -LHpd 1 | dmenu -b -l 10 -p "File to edit: $(basename $(pwd))")
if [ -e "$file" ]; then if [ -e "$file" ]; then
owd=$(pwd) owd=$(pwd)
if [ -d "$file" ]; then if [ -d "$file" ]; then