From 67c181b213519205fe0e7bac4646349652835dbb Mon Sep 17 00:00:00 2001 From: Jakob Stendahl Date: Thu, 27 Aug 2020 09:16:27 +0200 Subject: Update to p10k, and do some small updates --- install/install_debian.sh | 26 ++++++++++---------------- 1 file changed, 10 insertions(+), 16 deletions(-) mode change 100644 => 100755 install/install_debian.sh (limited to 'install/install_debian.sh') diff --git a/install/install_debian.sh b/install/install_debian.sh old mode 100644 new mode 100755 index 462beaf..ba4fec2 --- 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 -- cgit v1.2.3