diff options
| author | Mitch Riedstra <mitch@riedstra.us> | 2019-11-15 19:04:40 -0500 |
|---|---|---|
| committer | Mitch Riedstra <mitch@riedstra.us> | 2019-11-15 19:04:40 -0500 |
| commit | d70dc75744485fb69768b8c3f012ee0aa074a469 (patch) | |
| tree | c6a1474f9ee43720c22914ddddbe5b094ea0965b /mkshrc | |
| parent | acafc0b128c52a8535f3190462fc2ff6cc189c06 (diff) | |
| download | dotfiles-d70dc75744485fb69768b8c3f012ee0aa074a469.tar.gz dotfiles-d70dc75744485fb69768b8c3f012ee0aa074a469.tar.xz | |
Add in a shell function to source the contents of a pass entry
Diffstat (limited to 'mkshrc')
| -rw-r--r-- | mkshrc | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -219,6 +219,12 @@ checkSSHAgent() { fi } +passenv() { + _f="$(mktemp)" + pass "$@" > "$_f" + . "$_f" + rm -f "$_f" +} setcolorterminal() { |
