From 982b558ec977efb94d4a5d6eb723eb11f0eca74c Mon Sep 17 00:00:00 2001 From: Warren Hood Date: Tue, 28 Feb 2023 10:05:20 +0200 Subject: [PATCH] Add starship prompt to bash and zsh on Ubuntu --- setup | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/setup b/setup index e79c186..89f9dbb 100755 --- a/setup +++ b/setup @@ -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 ./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 @@ -47,4 +50,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"