git lg: disable annoying line wrap
This commit is contained in:
parent
7e5bbd1be5
commit
53710c2622
2
config
2
config
|
@ -49,7 +49,7 @@
|
||||||
# custom git log (always opens in pager)
|
# custom git log (always opens in pager)
|
||||||
lg = "!f() { \
|
lg = "!f() { \
|
||||||
git lgi $@ | \
|
git lgi $@ | \
|
||||||
less -cr; \
|
less --clear-screen --RAW-CONTROL-CHARS --chop-long-lines; \
|
||||||
}; f"
|
}; f"
|
||||||
|
|
||||||
# Inspired by, then evolved from:
|
# Inspired by, then evolved from:
|
||||||
|
|
Loading…
Reference in a new issue