From d9edef4fee53dd38c51b76f9d3f288ac89d83c8b Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Sun, 13 May 2018 11:38:20 -0400 Subject: get rid of the empty line after autotype --- rofi-pass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rofi-pass b/rofi-pass index 8e2165f..a10be5e 100755 --- a/rofi-pass +++ b/rofi-pass @@ -490,7 +490,7 @@ typeMenu () { checkIfPass local -a keys=("${!stuff[@]}") keys=("${keys[@]/$AUTOTYPE_field}") - typefield=$({ echo ${AUTOTYPE_field} ; printf '%s\n' "${keys[@]}" | sort; } | _rofi -dmenu -p "Choose Field to type > ") + typefield=$({ echo -n ${AUTOTYPE_field} ; printf '%s\n' "${keys[@]}" | sort; } | _rofi -dmenu -p "Choose Field to type > ") typefield_exit=$? if [[ $typefield_exit -eq 1 ]]; then exit -- cgit