X-Git-Url: https://defaria.com/gitweb/?a=blobdiff_plain;f=rc%2Ffunctions;h=28135c712c0a05dc0806b36886fab4b69a9049a8;hb=8d6e59ba7728e19d42da1533b9f24d0216867899;hp=1f8dcdc1ac15cd1c59d9d32f411bc58191447804;hpb=1140ca8d56832ae529db0f353112ac192cdf9432;p=clearscm.git diff --git a/rc/functions b/rc/functions index 1f8dcdc..28135c7 100644 --- a/rc/functions +++ b/rc/functions @@ -119,6 +119,7 @@ function set_prompt { "$TERM" = "2392A" -o \ "$TERM" = "dtterm" -o \ "$TERM" = "vt100" -o \ + "$TERM" = "cygwin" -o \ "$TERM" = "xterm" -o \ "$TERM" = "xtermc" -o \ "$TERM" = "xterm-256color" -o \ @@ -132,6 +133,7 @@ function set_prompt { fi if [ "$TERM" = "vt100" -o \ + "$TERM" = "cygwin" -o \ "$TERM" = "xterm" -o \ "$TERM" = "xtermc" -o \ "$TERM" = "xterm-256color" -o \ @@ -224,7 +226,7 @@ function sj { ps $psopts | $PAGER else for str; do - ps $psopts | grep "$str" | grep -v "grep $str" | grep -v "grep -d skip" + ps $psopts | grep "$str" | grep -ve "grep $str" -e "grep -d skip" -e "grep --color=auto" done fi } # sj