aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xrofi-pass4
1 files changed, 3 insertions, 1 deletions
diff --git a/rofi-pass b/rofi-pass
index 251591c..9b28a1e 100755
--- a/rofi-pass
+++ b/rofi-pass
@@ -402,7 +402,9 @@ typeMenu () {
if [[ -n $default_do ]]; then
if [[ $default_do == "menu" ]]; then
checkIfPass
- typefield=$(printf '%s\n' "${!stuff[@]}" | sort | _rofi -dmenu -p "Choose Field to type > ")
+ local -a keys=(${!stuff[@]})
+ keys=(${keys[@]/$AUTOTYPE_field})
+ typefield=$({ echo ${AUTOTYPE_field} ; printf '%s\n' "${keys[@]}" | sort; } | _rofi -dmenu -p "Choose Field to type > ")
val=$?
if [[ $val -eq 1 ]]; then
exit