bashrc: sshunlock: Remove the default prefix "Misc"
This commit is contained in:
parent
dd5700bcfd
commit
5cb7d1b6f2
|
@ -33,7 +33,7 @@ function moshscr() {
|
||||||
# This requires a standalone known hosts file
|
# This requires a standalone known hosts file
|
||||||
function sshunlock() {
|
function sshunlock() {
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
pass show "Misc/$2" | wl-copy
|
pass show "$2" | wl-copy
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
echo "key not found"
|
echo "key not found"
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in a new issue