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

if [[ $(whence sshfs) != "" ]] then
	alias smutt='ssh -t shmibs@airen-no-jikken.icu mutt'
	alias ssmutt='ssh -t shmibs@airen-no-jikken.icu mutt -f sent'
	alias kmutt='ssh -t k@airen-no-jikken.icu mutt'
	alias ksmutt='ssh -t k@airen-no-jikken.icu mutt -f sent'
	alias amutt='ssh -t ageha@airen-no-jikken.icu mutt'
	alias asmutt='ssh -t ageha@airen-no-jikken.icu mutt -f sent'
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 amount='mkdir -p ~/mount-ageha && sshfs ageha@airen-no-jikken.icu: ~/mount-ageha || rmdir ~/mount-ageha'
	alias sumount='fusermount -u ~/mount-shmibs && rmdir ~/mount-shmibs'
	alias kumount='fusermount -u ~/mount-k && rmdir ~/mount-k'
	alias aumount='fusermount -u ~/mount-ageha && rmdir ~/mount-ageha'
fi