Add starship prompt to bash and zsh on Ubuntu

(cherry picked from commit 982b558ec9)
This commit is contained in:
Warren Hood 2023-02-28 10:05:20 +02:00 committed by Warren Hood
parent 8c0b8c3ba1
commit 8580ef589f

6
setup
View file

@ -16,6 +16,9 @@ then
git clone https://github.com/horst3180/arc-icon-theme --depth 1 ~/git/arc-icon-theme && cd ~/git/arc-icon-theme
./autogen.sh --prefix=/usr
sudo make install
echo "Installing starship prompt"
curl -sS https://starship.rs/install.sh | sh
else
echo "Updating Arch"
sudo pacman -Syyu
@ -46,4 +49,5 @@ nvim --headless -c 'autocmd User PackerComplete quitall' -c 'PackerSync'
# Add aliases to zshrc
add_to_file "alias nv='nvim'" "$HOME/.zshrc"
add_to_file 'eval "$(starship init bash)"' "$HOME/.bashrc"
add_to_file 'eval "$(starship init zsh)"' "$HOME/.zshrc"