git: Disable pager globally

master
Pierre Neidhardt 2017-12-12 22:49:18 +01:00
parent 7e4bd08517
commit d4a81b1088
2 changed files with 14 additions and 3 deletions

View File

@ -145,9 +145,11 @@
(dolist (p '("abook" "alsamixer" "cmus" "fzf" "htop" "mpsyt" "mpv" "mutt" "ncdu" "newsbeuter" "pinentry-curses" "ranger" "watch" "wifi-menu"))
(add-to-list 'eshell-visual-commands p))
(setq eshell-visual-subcommands
'(("git" "log" "diff" "show"
"l" "lol" "d" "dc") ; aliases
("sudo" "wifi-menu") ; Arch Linux
;; Some Git commands use a pager by default.
;; Either invoke the subcommands in a term ("visual") or configure Git
;; to disable the pager globally.
;; '(("git" "log" "diff" "show")
'(("sudo" "wifi-menu") ; Arch Linux
("sudo" "vi" "visudo"))))
;;; Alias management possibilities:

View File

@ -42,3 +42,12 @@ suppresscc = author
# sendemail.confir = auto
aliasfiletype = mutt
# aliasesfile = ~/.mutt.d/aliases
[core]
pager = cat
[man]
viewer = catman
[man "catman"]
cmd = man -P cat