aboutsummaryrefslogtreecommitdiffstats
path: root/.zshrc-linux-desktop
blob: fcc72008f408e36b73bc0f12526d97b57cb9568e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
################### ALIASES ##################

if [[ $(whence sshfs) != "" ]] then
	alias smutt='ssh -t shmibs@airen-no-jikken.icu mutt'
	alias kmutt='ssh -t k@airen-no-jikken.icu mutt'
	alias amutt='ssh -t ageha@airen-no-jikken.icu mutt'
fi

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