Prefer keybindings over aliases
parent
2fbd04a9a5
commit
bb181ce0c2
|
@ -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
|
||||
##################################
|
||||
|
|
3
.zshrc
3
.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 *"
|
||||
|
|
Loading…
Reference in New Issue