Replies: 3 comments
-
If I understand correctly, this is because of two things:
I agree that for most people's use-case it's not practical for this to be the default behavior. You'd have to press Is this meant to happen even when there's no output (e.g. from |
Beta Was this translation helpful? Give feedback.
-
it behaves like that, yes. |
Beta Was this translation helpful? Give feedback.
-
$ git branch 1>/dev/null # Pipes stdout to /dev/null https://www.cyberciti.biz/faq/how-to-redirect-output-and-errors-to-devnull/ Additionally you should just be able to pipe it even when it's doing |
Beta Was this translation helpful? Give feedback.
-
a non-oh-my-bash system
git branch
does roughly this:so, it returns to stdout and provides a fresh prompt and you can proceed working.
with
oh-my-bash
this changes to some sort onless-ish
output behaviour , meaning the stdout is piped to less.you need to leave that with the
q
to get back to a fresh prompt to continue working.I find this not practical and am wondering how to switch this off in an
oh-my-bash
powered terminal?Beta Was this translation helpful? Give feedback.
All reactions