fix typo in copy menu

This commit is contained in:
Rasmus Steinke 2016-01-26 04:41:24 +01:00
parent cfa9af61b9
commit 6a5ae135e0

View File

@ -263,7 +263,7 @@ typeMenu () {
copyMenu () { copyMenu () {
checkIfPass checkIfPass
copyfield=$(echo -e "< Return\n---\npassword\n$(pass ${selected_password} | grep -P ':[\t ]' | awk -F ':' '{ print $1 }')" | _rofi -dmenu -p "Choose Field to type > ") copyfield=$(echo -e "< Return\n---\npassword\n$(pass ${selected_password} | grep -P ':[\t ]' | awk -F ':' '{ print $1 }')" | _rofi -dmenu -p "Choose Field to copy > ")
if [[ $copyfield == "" ]]; then exit; if [[ $copyfield == "" ]]; then exit;
elif [[ $copyfield == "password" ]]; then copyPass; elif [[ $copyfield == "password" ]]; then copyPass;
elif [[ $copyfield == "< Return" ]]; then mainMenu; elif [[ $copyfield == "< Return" ]]; then mainMenu;