From 63a100b01e1ad44e305a376be77309fdd935e1c8 Mon Sep 17 00:00:00 2001 From: maudin Date: Mon, 3 Oct 2016 16:30:05 +0200 Subject: [PATCH] minor fixes --- hybris.plugin.zsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hybris.plugin.zsh b/hybris.plugin.zsh index 5bab063..d4b024e 100644 --- a/hybris.plugin.zsh +++ b/hybris.plugin.zsh @@ -1,6 +1,6 @@ # bip at command end function precmd() {echo -n -e "\a"} -function preexec() {print -Pn "\e]0;toto\a"} +function preexec() {print -Pn "\e]0;\a"} # do not share history between terms... unsetopt share_history @@ -30,7 +30,7 @@ alias open_ports="sudo netstat -tulpen 2> /dev/null | grep LISTEN" cless() {for a in $@; do colorize_via_pygmentize $a | less; done} r() {if [ $# -eq 1 ]; then ssh root@$1; else sudo su -; fi} health() {/usr/bin/screen -O -S health -c ~/.config/screen_health} -loop() {while [ 1 ]; do $@; done} +loop() {while [ 1 ]; do sh -c "$@"; done} # Some exports export EDITOR=emacsclient