diff options
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/dmscripts/dmpass | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/dmscripts/dmpass b/bin/dmscripts/dmpass index 2af798b..9d79660 100755 --- a/bin/dmscripts/dmpass +++ b/bin/dmscripts/dmpass @@ -4,7 +4,7 @@ lscmd="ls --group-directories-first"  dmenucmd="dmenu -l 4 -g 2"  while [ -d "${store}/${file}" ]  do -	choice="$($lscmd "${store}/${file}" | awk -F'.gpg' '{print $1}' | $dmenucmd)" +	choice="$($lscmd "${store}/${file}" | sed 's/\.gpg$//'| $dmenucmd)"  	[ "$choice" ] || break  	file="${file}/${choice}"  done  | 
