Add an alias for easy getting password from bitwarden cli
This commit is contained in:
parent
a532c61a4a
commit
e656dd2fcb
1 changed files with 5 additions and 0 deletions
|
|
@ -98,6 +98,11 @@ pwdf() {
|
|||
echo "$(pwd)"/"$(fzf)"
|
||||
}
|
||||
|
||||
|
||||
bwp() {
|
||||
bw get password "$1" | wlc
|
||||
}
|
||||
|
||||
# wl-copy and wl-paste doesn't exist on mac, and mac has pbcopy and pbpaste
|
||||
if [[ "$(uname)" != "Darwin" ]]; then
|
||||
alias wlc="wl-copy"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue