This commit is contained in:
Dict Xiong 2022-08-28 15:50:36 +08:00
parent 90242e6252
commit d6779d639a
2 changed files with 8 additions and 4 deletions

View File

@ -11,7 +11,6 @@ jobs:
run: |
sudo apt update
sudo apt install -y git python3 python3-pip zsh curl inetutils-ping
sudo apt remove -y vim tmux
sudo pip3 install requests
- name: checkout repo
@ -21,6 +20,7 @@ jobs:
run: |
rev=`git rev-parse HEAD`
pwd
export DFS_NO_COMPILE=1
./install.sh
git checkout $rev
@ -42,7 +42,6 @@ jobs:
run: |
brew update
brew install git python3 zsh curl
sudo rm /usr/bin/vim
sudo pip3 install requests
- name: checkout repo
@ -52,6 +51,7 @@ jobs:
run: |
rev=`git rev-parse HEAD`
pwd
export DFS_NO_COMPILE=1
./install.sh
git checkout $rev

View File

@ -93,7 +93,9 @@ install_tmux_tpm(){
git clone https://gitee.com/dictxiong/tpm "$TMUX_TPM"
if [[ -x $(command -v g++) && -x $(command -v cmake) && -x $(command -v make) ]]; then
fmt_note "initializing tmux plugins ..."
~/.tmux/plugins/tpm/bin/install_plugins
if [[ -z "$DFS_NO_COMPILE" ]]; then
~/.tmux/plugins/tpm/bin/install_plugins
fi
else
fmt_warning "pls install g++,cmake,make and then init tmux plugins by <prefix + I> or ~/.tmux/plugins/tpm/bin/install_plugins"
fi
@ -106,7 +108,9 @@ install_vim_vundle(){
fmt_note "installing vim vundle ..."
git clone https://gitee.com/dictxiong/Vundle.vim "$VIM_VUNDLE"
fmt_note "initializing vim plugins ..."
vim +PluginInstall +qall
if [[ -z "$DFS_NO_COMPLIE" ]]; then
vim +PluginInstall +qall
fi
fi
}