Compare commits
No commits in common. "55acd85923a9a4d90d999d0eecb02bc4507b1001" and "30ae5753536efecdc065c48f3a0db2ee33db5d83" have entirely different histories.
55acd85923
...
30ae575353
|
@ -28,7 +28,7 @@ read the proxy actually to be used. Otherwise `/etc/proxyenv.conf` will be used.
|
||||||
The configuration file (default `/etc/proxyenv.conf`) will be sourced when proxyenv run,
|
The configuration file (default `/etc/proxyenv.conf`) will be sourced when proxyenv run,
|
||||||
so take care no let this file's permission to open, 755 is suggested.
|
so take care no let this file's permission to open, 755 is suggested.
|
||||||
|
|
||||||
For entry detail of configuration file, see `proxyenv.conf` in this repository.
|
For entry detail of configuration file, see [proxyenv.conf](/proxyenv.conf) in this repository.
|
||||||
|
|
||||||
## Misc
|
## Misc
|
||||||
|
|
||||||
|
|
5
proxyenv
5
proxyenv
|
@ -1,10 +1,5 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# Just quit queitly when no program specfied
|
|
||||||
if (( "$#" -le 0 )) ; then
|
|
||||||
exit 0
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [[ -z "$PROXYENV_CONFPATH" ]] ; then
|
if [[ -z "$PROXYENV_CONFPATH" ]] ; then
|
||||||
if [[ -e "/etc/proxyenv.conf" ]] ; then
|
if [[ -e "/etc/proxyenv.conf" ]] ; then
|
||||||
source "/etc/proxyenv.conf"
|
source "/etc/proxyenv.conf"
|
||||||
|
|
Loading…
Reference in a new issue