Consistent quote marks

This commit is contained in:
He4eT 2024-07-12 21:19:23 +02:00
commit f65bb702c8
2 changed files with 4 additions and 4 deletions

View file

@ -20,13 +20,13 @@ Copy the script to any directory included in your $PATH.
```
$ bwc github
[sudo] password for $USER:
Using the existing session key from "/home/$USER/.bitwarden_session".
Using the existing session key from '/home/$USER/.bitwarden_session'.
Searching for 'github'...
abcdefgh-ijkl-mnop-qrst-uvwxyz123456
github.com
Username "Username" copied to clipboard.
Username 'Username' copied to clipboard.
Press any key to copy the password...
Password copied to clipboard.
```

4
bwc
View file

@ -28,7 +28,7 @@ process_item () {
local username="$(jq -r ".login.username" <<< $login)"
echo $username | xclip -sel clip
echo "Username \"$username\" copied to clipboard."
echo "Username '$username' copied to clipboard."
read -s -k $'?Press any key to copy the password...\n'
jq -r ".login.password" <<< $login | xclip -sel clip
@ -61,7 +61,7 @@ main() {
sessionkey=$(bw unlock --raw)
save_sessionkey $sessionkey
else
echo "Using the existing session key from \"$sessionfile\"."
echo "Using the existing session key from '$sessionfile'."
fi
# Get a list of matching items