summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph Schlosser <christoph@linux.com>2025-09-07 18:13:44 +0200
committerChristoph Schlosser <christoph@linux.com>2025-09-07 18:13:44 +0200
commit7a62d3213cf9fc7ebbc43a07e3d1b01cb67e2d54 (patch)
tree045fc434b9e08acff7c79a0909b67e6b3fa1c932
parent01ce7ade851f64c8bba5497cd83bdb5ed07cabd8 (diff)
downloaddots-7a62d3213cf9fc7ebbc43a07e3d1b01cb67e2d54.tar.gz
fish: Add function for ssh_agent
-rw-r--r--fish/functions/fish_ssh_agent.fish4
1 files changed, 4 insertions, 0 deletions
diff --git a/fish/functions/fish_ssh_agent.fish b/fish/functions/fish_ssh_agent.fish
new file mode 100644
index 0000000..bffd287
--- /dev/null
+++ b/fish/functions/fish_ssh_agent.fish
@@ -0,0 +1,4 @@
+function fish_ssh_agent --wraps='eval (ssh-agent -c)' --description 'alias fish_ssh_agent eval (ssh-agent -c)'
+ eval (ssh-agent -c) $argv
+
+end