From bb181ce0c2073a2a399e2e7bd460abd3093ec535 Mon Sep 17 00:00:00 2001 From: Quentin Duchemin Date: Thu, 24 Sep 2020 15:04:06 +0200 Subject: [PATCH] Prefer keybindings over aliases --- .config/i3/config_common | 2 ++ .zshrc | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.config/i3/config_common b/.config/i3/config_common index aaa2dc9..9765975 100644 --- a/.config/i3/config_common +++ b/.config/i3/config_common @@ -124,6 +124,8 @@ bindsym $mod+Shift+p exec picamenu # open config folder in editor bindsym $mod+c exec atom ~/.config +# umount all SSHFS +bindsym $mod+Shift+u exec ~/.config/i3/scripts/umount_sshfs.sh ################################## # BINDINGS FOR STANDARD OPERATIONS ################################## diff --git a/.zshrc b/.zshrc index 66470ab..02996fe 100644 --- a/.zshrc +++ b/.zshrc @@ -106,8 +106,7 @@ alias ovh='mkdir -p ~/sshfs/ovh && sshfs chosto@51.178.182.35:/home/chosto ~/ssh alias pica01='mkdir -p ~/sshfs/pica01 && sshfs qduchemi@pica01.picasoft.net:/DATA/docker ~/sshfs/pica01' alias pica02='mkdir -p ~/sshfs/pica02 && sshfs qduchemi@pica02.picasoft.net:/DATA/docker ~/sshfs/pica02' alias pica_test='mkdir -p ~/sshfs/pica01-test && sshfs qduchemi@pica01-test.picasoft.net:/DATA/docker ~/sshfs/pica01-test' -alias sshfs_u='find ~/sshfs -mindepth 1 -maxdepth 1 -type d -exec umount {} \;' -alias aconfig='atom ~/.config' + # Start ssh-agent and retain passphrase for 1 hour # ssh-add is not used for convenience # Instead "AddKeysToAgent yes" option in ~/.ssh/config for "Host *"