Prefer keybindings over aliases

master
Quentin Duchemin 2020-09-24 15:04:06 +02:00
parent 2fbd04a9a5
commit bb181ce0c2
Signed by: Chosto
GPG Key ID: 0547178FEEDE7D6B
2 changed files with 3 additions and 2 deletions

View File

@ -124,6 +124,8 @@ bindsym $mod+Shift+p exec picamenu
# open config folder in editor # open config folder in editor
bindsym $mod+c exec atom ~/.config bindsym $mod+c exec atom ~/.config
# umount all SSHFS
bindsym $mod+Shift+u exec ~/.config/i3/scripts/umount_sshfs.sh
################################## ##################################
# BINDINGS FOR STANDARD OPERATIONS # BINDINGS FOR STANDARD OPERATIONS
################################## ##################################

3
.zshrc
View File

@ -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 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 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 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 # Start ssh-agent and retain passphrase for 1 hour
# ssh-add is not used for convenience # ssh-add is not used for convenience
# Instead "AddKeysToAgent yes" option in ~/.ssh/config for "Host *" # Instead "AddKeysToAgent yes" option in ~/.ssh/config for "Host *"