X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=zsh%2Frc;h=18c66952e56b0599fc8a481b046bb775358e065b;hb=fd641de15b288191fca8ab4cfd17c85f03c24456;hp=666f40ef3a91569a8aaebd11d61abe35e0e6d231;hpb=a142702ea1e1357bffced5f1417fba96186302bc;p=config%2Fdotfiles.git diff --git a/zsh/rc b/zsh/rc index 666f40e..18c6695 100644 --- a/zsh/rc +++ b/zsh/rc @@ -865,11 +865,6 @@ fi command tig --max-count=200 --branches --remotes --tags "$@" } -# Pipe output through less. -(( $+commands[tree] )) && tree() { - command tree -C "$@" | less -} - # Choose the "best" PDF viewer available: xpdf, then zathura (in the past # zathura was preferred, but recent versions are completely broken: still no # working search and no page-wise scrolling anymore). Also setup completion @@ -889,11 +884,6 @@ elif (( $+commands[zathura] )); then compdef pdf=xpdf fi -# Better viewer for info pages .. just pipe everything into less. -info() { - command info "$@" 2>/dev/null | less -} - # OS SPECIFIC SETTINGS