mirror of
https://github.com/WarrenHood/dotfiles.git
synced 2025-04-29 20:04:59 +01:00
Add starship prompt to bash and zsh on Ubuntu
This commit is contained in:
parent
d9757fdf63
commit
982b558ec9
6
setup
6
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
|
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"
|
||||||
|
|
Loading…
Reference in a new issue