From 53802e3600d3f3256ddd7b2af5c52c00a64a6447 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Wed, 7 Dec 2016 13:34:07 -0800 Subject: [PATCH] [Shell] Add system password function --- dotfiles/lib/shellenv/functions.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dotfiles/lib/shellenv/functions.sh b/dotfiles/lib/shellenv/functions.sh index ebcfeb2c..21c2ef70 100644 --- a/dotfiles/lib/shellenv/functions.sh +++ b/dotfiles/lib/shellenv/functions.sh @@ -463,3 +463,7 @@ function localip { ;; esac } + +function system_password { + keepasshttp.py --get -u "http://system.com" | jq '.[].password' | unescape.py +}