diff options
author | katherine <shmibs@shmibbles.me> | 2017-02-19 00:05:04 -0700 |
---|---|---|
committer | katherine <shmibs@shmibbles.me> | 2017-02-19 00:05:04 -0700 |
commit | 01cc1fd9f8d3484451fb33dc06d3eb76622dd7e0 (patch) | |
tree | 4c66447468cfd39bfeafdcb98b93c54de131f73f /.zshrc-linux-desktop | |
parent | d308281c01c9fc1ab4276dbccf6c411640379c49 (diff) | |
download | dotfiles-01cc1fd9f8d3484451fb33dc06d3eb76622dd7e0.tar.gz |
rearrange .zshrc modularity and switch to nvim
Diffstat (limited to '.zshrc-linux-desktop')
-rw-r--r-- | .zshrc-linux-desktop | 18 |
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 ################## |