From 499629918befab491fd934d0e36265466ae2b96f Mon Sep 17 00:00:00 2001 From: Diego Elio 'Flameeyes' Pettenò Date: Fri, 27 Aug 2010 00:54:41 +0200 Subject: If proxy is set, use it in bti call. --- bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bashrc b/bashrc index 7203b73..b0d88f3 100755 --- a/bashrc +++ b/bashrc @@ -1,7 +1,7 @@ # -*- sh -*- dent_me() { - echo "$@" | bti --host "${BTI_HOST}" --account "${BTI_ACCOUNT}" --password "${BTI_PASSWORD}" >/dev/null + echo "$@" | bti ${BTI_PROXY:+--proxy "${BTI_PROXY}"} --host "${BTI_HOST}" --account "${BTI_ACCOUNT}" --password "${BTI_PASSWORD}" >/dev/null } metadata_print() { -- cgit v1.2.3-65-gdbad