Don't pipe svn through $PAGER, if it isn't set

This commit is contained in:
crater2150 2021-05-20 17:35:34 +02:00
parent eb99b40aee
commit de89545cb0

View file

@ -191,6 +191,7 @@ cropdetect() {
# programming # programming
##############################################################################{{{ ##############################################################################{{{
if [[ -n $PAGER ]]; then
svn() { svn() {
case $1 in case $1 in
log|diff) log|diff)
@ -199,6 +200,7 @@ svn() {
command svn "$@" ;; command svn "$@" ;;
esac esac
} }
fi
alias gitv='vim "$(git rev-parse --git-dir)/index" -c "Gitv --all" -c tabonly' alias gitv='vim "$(git rev-parse --git-dir)/index" -c "Gitv --all" -c tabonly'