X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=zsh%2Frc;h=9e8edd262f67197c44ab3441b53a655f5987f044;hb=3742d8b34552762cc3627dde22975b5c94d33b22;hp=876bfc785470754268c6317cca4fa7c0cd3a5f98;hpb=c7f5fb40c46b8c99ddc93fbc1df2987e178e0124;p=config%2Fdotfiles.git diff --git a/zsh/rc b/zsh/rc index 876bfc7..9e8edd2 100644 --- a/zsh/rc +++ b/zsh/rc @@ -826,13 +826,9 @@ elif (( $+commands[zathura] )); then compdef _xpdf pdf fi -# GHCI doesn't use readline, force it if rlwrap is available. -(( $+commands[rlwrap] )) && ghci() { - command rlwrap \ - --always-readline --complete-filenames -t dumb \ - --histsize 5000 \ - --file ~/.shell/rlwrap/ghci \ - ghci "$@" 2>&1 +# Better viewer for info pages .. just pipe everything into less. +info() { + command info "$@" 2>/dev/null | less }