aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhumphreylin <[email protected]>2019-09-04 15:12:37 +0800
committerhumphreylin <[email protected]>2019-09-04 15:12:37 +0800
commitec57a905f7888e05b1a5769fc93665a670f44133 (patch)
tree92e304b6a97683e1483f53d30d9a735c8ecebc41
parentfc794b336adcde4d5de407e44b686eb5beb16ef7 (diff)
downloaddotfiles-ec57a905f7888e05b1a5769fc93665a670f44133.tar.gz
dotfiles-ec57a905f7888e05b1a5769fc93665a670f44133.tar.bz2
dotfiles-ec57a905f7888e05b1a5769fc93665a670f44133.zip
remove settings about proxy
-rw-r--r--.bashrc4
-rw-r--r--.zshrc4
-rw-r--r--install.sh2
3 files changed, 2 insertions, 8 deletions
diff --git a/.bashrc b/.bashrc
index b65626c..dff0eed 100644
--- a/.bashrc
+++ b/.bashrc
@@ -137,9 +137,5 @@ if [ ! -d /usr/share/autojump ]; then
fi
. /usr/share/autojump/autojump.sh
-# proxy
-export http_proxy='http://localhost:7890'
-export https_proxy='http://localhost:7890'
-
# fzf
[ -f ~/.fzf.bash ] && source ~/.fzf.bash
diff --git a/.zshrc b/.zshrc
index e836e6a..dcf7c3c 100644
--- a/.zshrc
+++ b/.zshrc
@@ -17,10 +17,6 @@ if [ ! -d /usr/share/autojump ]; then
fi
. /usr/share/autojump/autojump.zsh
-# proxy
-export http_proxy='http://127.0.0.1:7890'
-export https_proxy='http://127.0.0.1:7890'
-
# zplug
if [ ! -d ~/.zplug ]; then
echo 'Installing zplug ... '
diff --git a/install.sh b/install.sh
index 9dd046d..b366afe 100644
--- a/install.sh
+++ b/install.sh
@@ -19,6 +19,8 @@ usage() {
base_install() {
echo "--------- Install Base Packages Now ---------"
if command -v apt > /dev/null; then
+ apt update
+ apt upgrade
apt install git \
curl \
cmake \