Fixed dmenu_edit
This commit is contained in:
parent
ccdf0b8a1c
commit
986629c4ba
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue