diff options
Diffstat (limited to 'install/install_debian.sh')
-rwxr-xr-x[-rw-r--r--] | install/install_debian.sh | 26 |
1 files changed, 10 insertions, 16 deletions
diff --git a/install/install_debian.sh b/install/install_debian.sh index 462beaf..ba4fec2 100644..100755 --- a/install/install_debian.sh +++ b/install/install_debian.sh @@ -22,10 +22,10 @@ function dlgYN() { done } -dlgYN "> Install \"Highlight, atool, w3m, mediainfo\"" res +dlgYN "> Install \"Highlight, atool, w3m, mediainfo, vim, git\"" res if [ $res -eq 1 ]; then tput sc - sudo apt -y install highlight atool w3m mediainfo curl zsh + sudo apt -y install highlight atool w3m mediainfo curl zsh, vim, git tput rc; tput ed fi @@ -33,28 +33,21 @@ dlgYN "> Install Oh-My-Zsh" res if [ $res -eq 1 ]; then tput sc sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" - tput rc; tput ed -fi - -dlgYN "> Install zsh-autosuggestions" res -if [ $res -eq 1 ]; then - tput sc + + # Zsh-autosuggestions git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions + # Zsh-syntax-highlighting + git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting + tput rc; tput ed fi -dlgYN "> Install Powerline" res +dlgYN "> Install Powerline and Powerlevel10k" res if [ $res -eq 1 ]; then tput sc pip3 install pygments pip3 install powerline-status - tput rc; tput ed -fi - -dlgYN "> Install powerlevel9k" res -if [ $res -eq 1 ]; then - tput sc - git clone https://github.com/bhilburn/powerlevel9k.git ~/.oh-my-zsh/custom/themes/powerlevel9k + git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k tput rc; tput ed fi @@ -67,6 +60,7 @@ if [ $res -eq 1 ]; then ln -isf "$CWD/linux/tmux.conf" ~/.tmux.conf ln -isf "$CWD/Common/vimrc" ~/.vimrc ln -isf "$CWD/Common/vim" ~/.vim + ln -isf "$CWD/Common/p10k.zsh" ~/.p10k.zsh tput rc; tput ed fi |