Add starship prompt to bash and zsh on Ubuntu

This commit is contained in:
Warren Hood 2023-02-28 10:05:20 +02:00
parent d9757fdf63
commit 982b558ec9

6
setup
View file

@ -17,6 +17,9 @@ then
git clone https://github.com/horst3180/arc-icon-theme --depth 1 ~/git/arc-icon-theme && cd ~/git/arc-icon-theme git clone https://github.com/horst3180/arc-icon-theme --depth 1 ~/git/arc-icon-theme && cd ~/git/arc-icon-theme
./autogen.sh --prefix=/usr ./autogen.sh --prefix=/usr
sudo make install sudo make install
echo "Installing starship prompt"
curl -sS https://starship.rs/install.sh | sh
else else
echo "Updating Arch" echo "Updating Arch"
sudo pacman -Syyu sudo pacman -Syyu
@ -47,4 +50,5 @@ nvim --headless -c 'autocmd User PackerComplete quitall' -c 'PackerSync'
# Add aliases to zshrc # Add aliases to zshrc
add_to_file "alias nv='nvim'" "$HOME/.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"