8899300998c0

linux
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Sun, 10 Jun 2018 09:18:15 -0700
parents 0bf13c58fc21
children a1d399ef7d54
branches/tags (none)
files fish/functions/__ssh_agent_is_started.fish fish/functions/__ssh_agent_start.fish mutt/offlineimaplinux.py

Changes

--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/fish/functions/__ssh_agent_is_started.fish	Sun Jun 10 09:18:15 2018 -0700
@@ -0,0 +1,1 @@
+/home/sjl/src/fish-ssh-agent/functions/__ssh_agent_is_started.fish
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/fish/functions/__ssh_agent_start.fish	Sun Jun 10 09:18:15 2018 -0700
@@ -0,0 +1,1 @@
+/home/sjl/src/fish-ssh-agent/functions/__ssh_agent_start.fish
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mutt/offlineimaplinux.py	Sun Jun 10 09:18:15 2018 -0700
@@ -0,0 +1,9 @@
+#!/usr/bin/python
+
+import subprocess
+
+def get_keychain_pass(account=None):
+    command = "pass-work '%s'" % account
+    output = subprocess.check_output(command, shell=True, stderr=subprocess.STDOUT)
+    return output.splitlines()[0]
+