1 2 3 4 5 6 7 8
#!/bin/bash # launches a seahorse-agent instance seahorseagent=`which seahorse-agent 2> /dev/null` if [ -n "$seahorseagent" ] && [ -x "$seahorseagent" ] && [ -z "$GPG_AGENT_INFO" ] ; then command="$seahorseagent --execute $command" fi