diff --git a/wofi-pass b/wofi-pass index 4267ad1..7e423b9 100755 --- a/wofi-pass +++ b/wofi-pass @@ -38,7 +38,7 @@ _pass_field() { plaintext="$(pass show $password | tail -n +2)" for line in $plaintext; do if [[ $line == $1:* ]]; then - printf "$(_trim "$(printf "$line" | cut -d: -f2 -s)")" + printf "$(_trim "$(printf "$line" | cut -d: -f1 -s --complement)")" fi done unset IFS