X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=brc;h=6389c8763dc249881d010b671daf10894d66febe;hb=63e3670ab59869f5f74904edbe64daa943fad15f;hp=3fbf9675907ae76ad457900da2de0d49fa58b920;hpb=9c77c557e60d21caceeef1e78e35b35ed968fca9;p=distro-setup diff --git a/brc b/brc index 3fbf967..6389c87 100644 --- a/brc +++ b/brc @@ -224,6 +224,7 @@ export PROFILE_TASKS_TASK_OUTPUT_LIMIT=100 # i for insensitive. the rest from # X means dont remove the current screenworth of output upon exit # R means to show colors n things +# a useful flag is -F aka --quit-if-one-screen export LESS=RXij12 export SYSTEMD_LESS=$LESS @@ -862,6 +863,10 @@ cim() { d() { builtin bg "$@"; } ccomp bg d +# f would be more natural, but i already am using it for something +z() { builtin fg "$@"; } +ccomp fg z + dc() { diff --strip-trailing-cr -w "$@" # diff content } @@ -2389,7 +2394,7 @@ s/^\Wcapability: (.*)/\1/;Ta;h;b # and changing directory, so we don't have any open # directories or files that could cause problems when # remounting. -z() { +zr() { local tmp tmp=$(type -p "$1") if [[ $tmp ]]; then