From a49d0e68112571d2655162bb93eabf0017916f64 Mon Sep 17 00:00:00 2001 From: Klesh Wong Date: Fri, 15 May 2020 10:47:57 +0800 Subject: [PATCH] [misc] use gitee --- ubuntu/install-base.sh | 2 +- ubuntu/install-tmux.sh | 2 ++ vimrc | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ubuntu/install-base.sh b/ubuntu/install-base.sh index 6f8d26e..c3fc17a 100755 --- a/ubuntu/install-base.sh +++ b/ubuntu/install-base.sh @@ -2,4 +2,4 @@ sudo apt update sudo apt upgrade --fix-missing -sudo apt install fish build-essential automake pkg-config libevent-dev libncurses5-dev software-properties-common curl -y +sudo apt install build-essential automake pkg-config software-properties-common curl -y diff --git a/ubuntu/install-tmux.sh b/ubuntu/install-tmux.sh index 44bc2a4..d34215a 100755 --- a/ubuntu/install-tmux.sh +++ b/ubuntu/install-tmux.sh @@ -1,5 +1,7 @@ #!/bin/bash +sudo apt install libevent-dev libncurses5-dev -y + TMUX_VER=3.1b curl -L https://github.com/tmux/tmux/releases/download/$TMUX_VER/tmux-$TMUX_VER.tar.gz -o /tmp/tmux.tar.gz cd /tmp/ diff --git a/vimrc b/vimrc index 2a9d4f1..2521aba 100644 --- a/vimrc +++ b/vimrc @@ -5,7 +5,7 @@ if !filereadable(vim_plug_path) echo "Installing Vim-plug..." echo "" silent !mkdir -p ~/.vim/autoload - silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs https://github.com/junegunn/vim-plug/raw/master/plug.vim + silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs https://gitee.com/klesh/vim-plug/raw/master/plug.vim let vim_plug_just_installed = 1 endif