Ignoring .gpg in output for base directory aswell
This commit is contained in:
parent
6f2a8935fa
commit
f5af7eb418
2
pass
2
pass
@ -53,7 +53,7 @@ menu() {
|
|||||||
while :
|
while :
|
||||||
do
|
do
|
||||||
if [ $cwd = $PASS_DIR ]; then
|
if [ $cwd = $PASS_DIR ]; then
|
||||||
cmd=$(ls -p $cwd | dmenu -l 5 "$@")
|
cmd=$(ls -p $cwd | sed 's/\.gpg$//' | dmenu -l 5 "$@")
|
||||||
else
|
else
|
||||||
cmd=$({ echo ".."; ls -p $cwd | sed 's/\.gpg$//'; } | dmenu -l 5 "$@")
|
cmd=$({ echo ".."; ls -p $cwd | sed 's/\.gpg$//'; } | dmenu -l 5 "$@")
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user