aboutsummaryrefslogtreecommitdiffstats
path: root/.zshrc-linux-desktop
diff options
context:
space:
mode:
authorkatherine <shmibs@airen-no-jikken.icu>2019-05-14 20:54:52 -0700
committerkatherine <shmibs@airen-no-jikken.icu>2019-05-14 20:54:52 -0700
commit70c93798dba49fae75603a84fc515fddcdfa9ca1 (patch)
tree7ba4242e29e8dcb317205b42280a5c652140facf /.zshrc-linux-desktop
parentb5a031e35c50d52ab40135449d359c734c2de227 (diff)
downloaddotfiles-70c93798dba49fae75603a84fc515fddcdfa9ca1.tar.gz
update ssh-related aliases
Diffstat (limited to '.zshrc-linux-desktop')
-rw-r--r--.zshrc-linux-desktop14
1 files changed, 9 insertions, 5 deletions
diff --git a/.zshrc-linux-desktop b/.zshrc-linux-desktop
index dc6c78f..148e3d2 100644
--- a/.zshrc-linux-desktop
+++ b/.zshrc-linux-desktop
@@ -1,9 +1,13 @@
################### ALIASES ##################
-alias ssh-socks='ssh -C2qTnN -F /dev/null -D 9853 airen-no-jikken.icu'
+if [[ $(whence sshfs) != "" ]] then
+ alias smutt='ssh -t shmibs@airen-no-jikken.icu mutt'
+ alias kmutt='ssh -t k@airen-no-jikken.icu mutt'
+fi
-if [[ "$(whence sshfs)" != "" ]] then
- alias smounth='mkdir -p ~/airen-no-jikken.icu; sshfs airen-no-jikken.icu: ~/airen-no-jikken.icu'
- alias smountw='mkdir -p ~/airen-no-jikken.icu; sshfs airen-no-jikken.icu:/usr/local/www/apache24/data/ ~/airen-no-jikken.icu'
- alias sumount='fusermount -u ~/airen-no-jikken.icu; rmdir ~/airen-no-jikken.icu'
+if [[ $(whence sshfs) != "" ]] then
+ alias smount='mkdir -p ~/mount-shmibs && sshfs shmibs@airen-no-jikken.icu: ~/mount-shmibs || rmdir ~/mount-shmibs'
+ alias kmount'mkdir -p ~/mount-k && sshfs k@airen-no-jikken.icu: ~/mount-k || rmdir ~/mount-k'
+ alias sumount='fusermount -u ~/mount-shmibs && rmdir ~/mount-shmibs'
+ alias kumount='fusermount -u ~/mount-shmibs && rmdir ~/mount-k'
fi