aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmin Bandali <amin@aminb.org>2018-05-13 11:38:20 -0400
committerGitHub <noreply@github.com>2018-05-13 11:38:20 -0400
commitd9edef4fee53dd38c51b76f9d3f288ac89d83c8b (patch)
tree53096421165fd885b9a37757e8ad32dc11fbd7a8
parent5315ee32a438b392c67ec984809884ca49066043 (diff)
downloadrofi-pass-d9edef4fee53dd38c51b76f9d3f288ac89d83c8b.tar.gz
get rid of the empty line after autotype
-rwxr-xr-xrofi-pass2
1 files changed, 1 insertions, 1 deletions
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