aboutsummaryrefslogtreecommitdiffstats
path: root/.zshrc-linux-desktop
diff options
context:
space:
mode:
Diffstat (limited to '.zshrc-linux-desktop')
-rw-r--r--.zshrc-linux-desktop18
1 files changed, 7 insertions, 11 deletions
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 ##################