1
1
Fork 0

Make tmux use XDG basedir - somewhat

This commit is contained in:
Jonathan Schleifer 2020-02-26 21:49:49 +00:00
parent 3ce7aadf89
commit 39a257cba5
7 changed files with 9 additions and 4 deletions

View file

@ -1,4 +1,4 @@
function gpg-sftp
function gpg-sftp --wraps sftp
set -lx SSH_AUTH_SOCK $GNUPGHOME/S.gpg-agent.ssh
sftp $argv
end

View file

@ -1,4 +1,4 @@
function gpg-ssh-add
function gpg-ssh-add --wraps ssh-add
set -lx SSH_AUTH_SOCK $GNUPGHOME/S.gpg-agent.ssh
ssh-add $argv
end

View file

@ -1,4 +1,4 @@
function gpg-ssh
function gpg-ssh --wraps ssh
set -lx SSH_AUTH_SOCK $GNUPGHOME/S.gpg-agent.ssh
ssh $argv
end

3
fish/functions/tmux.fish Normal file
View file

@ -0,0 +1,3 @@
function tmux
command tmux -f $XDG_CONFIG_HOME/tmux/tmux.conf $argv
end