From 01cc1fd9f8d3484451fb33dc06d3eb76622dd7e0 Mon Sep 17 00:00:00 2001 From: katherine Date: Sun, 19 Feb 2017 00:05:04 -0700 Subject: rearrange .zshrc modularity and switch to nvim --- .zshrc-linux-desktop | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) (limited to '.zshrc-linux-desktop') diff --git a/.zshrc-linux-desktop b/.zshrc-linux-desktop index c2701df..ec2a5fb 100644 --- a/.zshrc-linux-desktop +++ b/.zshrc-linux-desktop @@ -1,17 +1,13 @@ ################### ALIASES ################## -alias def='sdcv' -alias dvd='mpv --deinterlace=yes dvd://' -alias hc='herbstclient' + alias ssh-socks='ssh -C2qTnN -D 9853 shmibbles.me' -alias svim='sudo -E vim' -alias svimdiff='sudo -E vimdiff' alias sx='startx' -alias thesaurus='aiksaurus' -alias vmount='udevil mount' -alias vumount='udevil umount' -alias smounth='mkdir -p ~/shmibbles.me; sshfs shmibbles.me: ~/shmibbles.me' -alias smountw='mkdir -p ~/shmibbles.me; sshfs shmibbles.me:/usr/local/www/apache24/data/ ~/shmibbles.me' -alias sumount='fusermount -u ~/shmibbles.me; rmdir ~/shmibbles.me' + +if [[ "$(whence sshfs)" != "" ]] then + alias smounth='mkdir -p ~/shmibbles.me; sshfs shmibbles.me: ~/shmibbles.me' + alias smountw='mkdir -p ~/shmibbles.me; sshfs shmibbles.me:/usr/local/www/apache24/data/ ~/shmibbles.me' + alias sumount='fusermount -u ~/shmibbles.me; rmdir ~/shmibbles.me' +fi ################## FUNCTIONS ################## -- cgit v1.2.3