Skip to content

Instantly share code, notes, and snippets.

@balazsbohonyi
Last active April 9, 2024 22:33
Show Gist options
  • Save balazsbohonyi/0b2ea636d8f2f2ba1f18446c9c799db3 to your computer and use it in GitHub Desktop.
Save balazsbohonyi/0b2ea636d8f2f2ba1f18446c9c799db3 to your computer and use it in GitHub Desktop.
'more' in Git Bash

Add an alias for more in .bashrc:

alias more=/proc/cygdrive/c/Windows/System32/more.com

...and then you can use it like this in Git Bash:

cat large_file | more

To increase less's screen width in Git Bash, try this: git config --global core.pager "env -u COLUMNS less"

Source of this solution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment