Don't pipe svn through $PAGER, if it isn't set
This commit is contained in:
parent
eb99b40aee
commit
de89545cb0
|
@ -191,14 +191,16 @@ cropdetect() {
|
||||||
# programming
|
# programming
|
||||||
##############################################################################{{{
|
##############################################################################{{{
|
||||||
|
|
||||||
svn() {
|
if [[ -n $PAGER ]]; then
|
||||||
|
svn() {
|
||||||
case $1 in
|
case $1 in
|
||||||
log|diff)
|
log|diff)
|
||||||
command svn "$@" | $PAGER ;;
|
command svn "$@" | $PAGER ;;
|
||||||
*)
|
*)
|
||||||
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'
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue