diff options
Diffstat (limited to 'accounts/gkleen@sif/zshrc')
-rw-r--r-- | accounts/gkleen@sif/zshrc | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/accounts/gkleen@sif/zshrc b/accounts/gkleen@sif/zshrc index e3f675a1..3a524bf1 100644 --- a/accounts/gkleen@sif/zshrc +++ b/accounts/gkleen@sif/zshrc | |||
@@ -272,11 +272,11 @@ l() { | |||
272 | } | 272 | } |
273 | 273 | ||
274 | re() { | 274 | re() { |
275 | systemctl --restart $@ | 275 | systemctl restart $@ |
276 | } | 276 | } |
277 | 277 | ||
278 | ure() { | 278 | ure() { |
279 | systemctl --user --restart $@ | 279 | systemctl --user restart $@ |
280 | } | 280 | } |
281 | 281 | ||
282 | ssh-installer() { | 282 | ssh-installer() { |
@@ -306,20 +306,7 @@ done < <(find ~/projects ~/uni -regextype posix-extended -maxdepth 2 -type d -re | |||
306 | sed -zr 's|(.*/([0-9]{2}[ws])/(.+))|\1 \2 \3|' | \ | 306 | sed -zr 's|(.*/([0-9]{2}[ws])/(.+))|\1 \2 \3|' | \ |
307 | sort -z -r -k2 | sort -z -s -k3 | uniq -z -f 2) | 307 | sort -z -r -k2 | sort -z -s -k3 | uniq -z -f 2) |
308 | 308 | ||
309 | alias '..'='cd ..' | ||
310 | alias rzadm=$'tmpdir -i sh -c \'mkdir adm; sshfs gkleen@mgmt01:/adm adm\'' | 309 | alias rzadm=$'tmpdir -i sh -c \'mkdir adm; sshfs gkleen@mgmt01:/adm adm\'' |
311 | alias mathcloud=$'tmpdir -i rclone mount --daemon mathcloud:// .' | 310 | alias mathcloud=$'tmpdir -i rclone mount --daemon mathcloud:// .' |
312 | alias -g L='| less' | ||
313 | alias -g S='&> /dev/null' | ||
314 | alias -g G='| grep' | ||
315 | alias -g B='&> /dev/null &' | ||
316 | alias -g BB='&> /dev/null &!' | ||
317 | 311 | ||
318 | export DEFAULT_USER=gkleen | 312 | export DEFAULT_USER=gkleen |
319 | |||
320 | bindkey -e | ||
321 | bindkey ';5C' emacs-forward-word | ||
322 | bindkey ';5D' emacs-backward-word | ||
323 | bindkey '^[[1;5C' emacs-forward-word | ||
324 | bindkey '^[[1;5D' emacs-backward-word | ||
325 | bindkey '^H' backward-kill-word | ||