chezmoi init

This commit is contained in:
Cy Pokhrel 2024-10-22 11:11:45 -04:00
commit 530d6d7195
No known key found for this signature in database
GPG key ID: 1200FBE36C2ADE2E
1176 changed files with 111325 additions and 0 deletions

View file

@ -0,0 +1,21 @@
# starship plugin
Initializes [starship prompt](https://starship.rs) - a minimal, blazing-fast and infinitely customizable cross-shell prompt.
[Demo](https://user-images.githubusercontent.com/62098008/169764279-50b48262-9506-4651-ba89-f6611a88ebf0.mp4)
[External repository](https://github.com/axieax/zsh-starship) for this zsh plugin.
# Installation
**Note:** you have to [install starship](https://starship.rs/guide/#%F0%9F%9A%80-installation) first.
## [oh-my-zsh](https://github.com/ohmyzsh/ohmyzsh)
Add `starship` to the plugins array in your `.zshrc` file:
```zsh
plugins=(... starship)
```
## ⚠️ ENABLING THIS PLUGIN WILL UNSET YOUR ZSH_THEME VARIABLE

View file

@ -0,0 +1,8 @@
if (( $+commands[starship] )); then
# ignore oh-my-zsh theme
unset ZSH_THEME
eval "$(starship init zsh)"
else
echo '[oh-my-zsh] starship not found, please install it from https://starship.rs'
fi