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
|
||||
##############################################################################{{{
|
||||
|
||||
svn() {
|
||||
if [[ -n $PAGER ]]; then
|
||||
svn() {
|
||||
case $1 in
|
||||
log|diff)
|
||||
command svn "$@" | $PAGER ;;
|
||||
*)
|
||||
command svn "$@" ;;
|
||||
esac
|
||||
}
|
||||
}
|
||||
fi
|
||||
|
||||
alias gitv='vim "$(git rev-parse --git-dir)/index" -c "Gitv --all" -c tabonly'
|
||||
|
||||
|
|
Loading…
Reference in a new issue