aboutsummaryrefslogtreecommitdiff
path: root/zsh
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2017-11-03 09:17:47 +0100
committerneodarz <neodarz@neodarz.net>2017-11-03 09:17:47 +0100
commit820c88c2377ffbdf3029643e62e8cbf477b461b7 (patch)
tree35f7caf0794fb8b55d49e408d1bb73af63b07606 /zsh
parent4f61eb2e25c5556a2eeb43f9e713955086b2b5e3 (diff)
downloaddotfiles_ascii-820c88c2377ffbdf3029643e62e8cbf477b461b7.tar.xz
dotfiles_ascii-820c88c2377ffbdf3029643e62e8cbf477b461b7.zip
Add ssh script
Diffstat (limited to 'zsh')
-rwxr-xr-xzsh/.zsh/aliases.zsh5
1 files changed, 3 insertions, 2 deletions
diff --git a/zsh/.zsh/aliases.zsh b/zsh/.zsh/aliases.zsh
index 1998493..35faf61 100755
--- a/zsh/.zsh/aliases.zsh
+++ b/zsh/.zsh/aliases.zsh
@@ -68,7 +68,8 @@ alias lol="base64 </dev/urandom | lolcat"
alias pacman="sudo pacman"
alias update="yaourt -Syua"
#alias :q="poweroff"
-alias off="timew stop @1; poweroff"
+alias off="sshs disable; timew stop @1; poweroff"
+alias sshs="~/.scripts/ssh.sh"
alias dldstart="systemctl --user start aria2d.service"
alias dldstop="systemctl --user stop aria2d.service"
alias dldstatus="systemctl --user status aria2d.service"
@@ -127,7 +128,7 @@ alias cal="ikhal"
alias cals="vdirsyncer sync linuxmaine && vdirsyncer sync haum && ikhal"
alias calsync="vdirsyncer sync perso && vdirsyncer sync pro && vdirsyncer sync imie"
alias mm="offlineimap && neomutt"
-alias reboot="sudo reboot"
+alias reboot="sshs disable; timew stop @1; sudo reboot"
alias terminus="~/Apps/terminus-pantheon/vendor/bin/terminus"
alias ncmpcpphaum="ncmpcpp -h sulfur"