add one more norecursive
This commit is contained in:
parent
97edf6e165
commit
1e97098874
@ -131,12 +131,14 @@ configure_zsh() {
|
|||||||
|
|
||||||
if [[ -z "$response" ]] || [[ $response =~ ^[Yy]$ ]]; then
|
if [[ -z "$response" ]] || [[ $response =~ ^[Yy]$ ]]; then
|
||||||
apt install zsh -y
|
apt install zsh -y
|
||||||
|
|
||||||
|
rm ~/.oh-my-zsh -r
|
||||||
git_clone ohmyzsh/ohmyzsh ~/.oh-my-zsh
|
git_clone ohmyzsh/ohmyzsh ~/.oh-my-zsh
|
||||||
RUNZSH=no ZSH=~/.oh-my-zsh $scriptdir/files/install-ohmyzsh.sh
|
RUNZSH=no ZSH=~/.oh-my-zsh $scriptdir/files/install-ohmyzsh.sh
|
||||||
|
|
||||||
git_clone zsh-users/zsh-autosuggestions ~/.oh-my-zsh/plugins/zsh-autosuggestions
|
git_clone zsh-users/zsh-autosuggestions ~/.oh-my-zsh/plugins/zsh-autosuggestions
|
||||||
git_clone zsh-users/zsh-syntax-highlighting ~/.oh-my-zsh/plugins/zsh-syntax-highlighting
|
git_clone zsh-users/zsh-syntax-highlighting ~/.oh-my-zsh/plugins/zsh-syntax-highlighting
|
||||||
git_clone paulirish/git-open ~/.oh-my-zsh/plugins/git-open
|
git_clone paulirish/git-open ~/.oh-my-zsh/plugins/git-open --norecursive
|
||||||
apt install autojump -y
|
apt install autojump -y
|
||||||
|
|
||||||
cp $scriptdir/files/.zshrc ~/.zshrc
|
cp $scriptdir/files/.zshrc ~/.zshrc
|
||||||
@ -151,11 +153,14 @@ configure_tmux() {
|
|||||||
|
|
||||||
if [[ -z "$response" ]] || [[ $response =~ ^[Yy]$ ]]; then
|
if [[ -z "$response" ]] || [[ $response =~ ^[Yy]$ ]]; then
|
||||||
apt install tmux -y
|
apt install tmux -y
|
||||||
|
|
||||||
|
rm ~/.tmux -r
|
||||||
git_clone tmux-plugins/tpm ~/.tmux/plugins/tpm --norecursive
|
git_clone tmux-plugins/tpm ~/.tmux/plugins/tpm --norecursive
|
||||||
git_clone tmux-plugins/tmux-sensible ~/.tmux/plugins/tmux-sensible
|
git_clone tmux-plugins/tmux-sensible ~/.tmux/plugins/tmux-sensible
|
||||||
git_clone tmux-plugins/tmux-yank ~/.tmux/plugins/tmux-yank
|
git_clone tmux-plugins/tmux-yank ~/.tmux/plugins/tmux-yank
|
||||||
git_clone tmux-plugins/tmux-prefix-highlight ~/.tmux/plugins/tmux-prefix-highlight
|
git_clone tmux-plugins/tmux-prefix-highlight ~/.tmux/plugins/tmux-prefix-highlight
|
||||||
git_clone seebi/tmux-colors-solarized ~/.tmux/plugins/tmux-colors-solarized
|
git_clone seebi/tmux-colors-solarized ~/.tmux/plugins/tmux-colors-solarized
|
||||||
|
|
||||||
cp $scriptdir/files/.tmux.conf ~/.tmux.conf
|
cp $scriptdir/files/.tmux.conf ~/.tmux.conf
|
||||||
apt install xsel -y # 能够让 tmux 剪切板与 terminal 同步
|
apt install xsel -y # 能够让 tmux 剪切板与 terminal 同步
|
||||||
fi
|
fi
|
||||||
|
|||||||
@ -137,12 +137,14 @@ configure_zsh() {
|
|||||||
|
|
||||||
if [[ -z "$response" ]] || [[ $response =~ ^[Yy]$ ]]; then
|
if [[ -z "$response" ]] || [[ $response =~ ^[Yy]$ ]]; then
|
||||||
sudo apt install zsh -y
|
sudo apt install zsh -y
|
||||||
|
|
||||||
|
rm ~/.oh-my-zsh -r
|
||||||
git_clone ohmyzsh/ohmyzsh ~/.oh-my-zsh
|
git_clone ohmyzsh/ohmyzsh ~/.oh-my-zsh
|
||||||
RUNZSH=no ZSH=~/.oh-my-zsh $scriptdir/files/install-ohmyzsh.sh
|
RUNZSH=no ZSH=~/.oh-my-zsh $scriptdir/files/install-ohmyzsh.sh
|
||||||
|
|
||||||
git_clone zsh-users/zsh-autosuggestions ~/.oh-my-zsh/plugins/zsh-autosuggestions
|
git_clone zsh-users/zsh-autosuggestions ~/.oh-my-zsh/plugins/zsh-autosuggestions
|
||||||
git_clone zsh-users/zsh-syntax-highlighting ~/.oh-my-zsh/plugins/zsh-syntax-highlighting
|
git_clone zsh-users/zsh-syntax-highlighting ~/.oh-my-zsh/plugins/zsh-syntax-highlighting
|
||||||
git_clone paulirish/git-open ~/.oh-my-zsh/plugins/git-open
|
git_clone paulirish/git-open ~/.oh-my-zsh/plugins/git-open --norecursive
|
||||||
sudo apt install autojump -y
|
sudo apt install autojump -y
|
||||||
|
|
||||||
cp $scriptdir/files/.zshrc ~/.zshrc
|
cp $scriptdir/files/.zshrc ~/.zshrc
|
||||||
@ -157,11 +159,14 @@ configure_tmux() {
|
|||||||
|
|
||||||
if [[ -z "$response" ]] || [[ $response =~ ^[Yy]$ ]]; then
|
if [[ -z "$response" ]] || [[ $response =~ ^[Yy]$ ]]; then
|
||||||
sudo apt install tmux -y
|
sudo apt install tmux -y
|
||||||
|
|
||||||
|
rm ~/.tmux -r
|
||||||
git_clone tmux-plugins/tpm ~/.tmux/plugins/tpm --norecursive
|
git_clone tmux-plugins/tpm ~/.tmux/plugins/tpm --norecursive
|
||||||
git_clone tmux-plugins/tmux-sensible ~/.tmux/plugins/tmux-sensible
|
git_clone tmux-plugins/tmux-sensible ~/.tmux/plugins/tmux-sensible
|
||||||
git_clone tmux-plugins/tmux-yank ~/.tmux/plugins/tmux-yank
|
git_clone tmux-plugins/tmux-yank ~/.tmux/plugins/tmux-yank
|
||||||
git_clone tmux-plugins/tmux-prefix-highlight ~/.tmux/plugins/tmux-prefix-highlight
|
git_clone tmux-plugins/tmux-prefix-highlight ~/.tmux/plugins/tmux-prefix-highlight
|
||||||
git_clone seebi/tmux-colors-solarized ~/.tmux/plugins/tmux-colors-solarized
|
git_clone seebi/tmux-colors-solarized ~/.tmux/plugins/tmux-colors-solarized
|
||||||
|
|
||||||
cp $scriptdir/files/.tmux.conf ~/.tmux.conf
|
cp $scriptdir/files/.tmux.conf ~/.tmux.conf
|
||||||
sudo apt install xsel -y # 能够让 tmux 剪切板与 terminal 同步
|
sudo apt install xsel -y # 能够让 tmux 剪切板与 terminal 同步
|
||||||
fi
|
fi
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user