experimental: zsh

This commit is contained in:
Konano 2023-11-30 11:21:00 +08:00
parent a8f04df76e
commit ecb11110c6
2 changed files with 7 additions and 7 deletions

View File

@ -97,13 +97,13 @@ configure_zsh() {
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/custom/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/custom/plugins/zsh-syntax-highlighting
git_clone paulirish/git-open ~/.oh-my-zsh/plugins/git-open --norecursive git_clone paulirish/git-open ~/.oh-my-zsh/custom/plugins/git-open --norecursive
sudo apt install autojump -y sudo apt install autojump -y
cp $scriptdir/files/.zshrc ~/.zshrc # cp $scriptdir/files/.zshrc ~/.zshrc
cp $scriptdir/files/ys-simple.zsh-theme ~/.oh-my-zsh/themes/ys-simple.zsh-theme cp $scriptdir/files/ys-simple.zsh-theme ~/.oh-my-zsh/custom/themes/ys-simple.zsh-theme
fi fi
} }

View File

@ -78,8 +78,8 @@ configure_nodejs() {
# ============================================================ # ============================================================
update_file $scriptdir/files/ys-simple.zsh-theme ~/.oh-my-zsh/themes/ys-simple.zsh-theme update_file $scriptdir/files/ys-simple.zsh-theme ~/.oh-my-zsh/custom/themes/ys-simple.zsh-theme
update_file $scriptdir/files/.user_utils ~/.user_utils # update_file $scriptdir/files/.user_utils ~/.user_utils
update_authorized_keys update_authorized_keys
if [ $# -ne 0 ]; then if [ $# -ne 0 ]; then