Diff
1diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS
2index 6668cd7cea97812916b953c013fe4ab345592923..599b765ca605a742196cdceb632708937b21bc33 100644
3--- a/.github/CODEOWNERS
4+++ b/.github/CODEOWNERS
5@@ -9,3 +9,4 @@ plugins/shell-proxy/ @septs
6 plugins/universalarchive/ @Konfekt
7 plugins/wp-cli/ @joshmedeski
8 plugins/zoxide/ @ajeetdsouza
9+plugins/starship/ @axieax
10diff --git a/plugins/starship/README.md b/plugins/starship/README.md
11new file mode 100644
12index 0000000000000000000000000000000000000000..0e66c5294cf8f017a000898808bf404592cbc9ff
13--- /dev/null
14+++ b/plugins/starship/README.md
15@@ -0,0 +1,21 @@
16+# starship plugin
17+
18+Initializes [starship prompt](https://starship.rs) - a minimal, blazing-fast and infinitely customizable cross-shell prompt.
19+
20+[Demo](https://user-images.githubusercontent.com/62098008/169764279-50b48262-9506-4651-ba89-f6611a88ebf0.mp4)
21+
22+[External repository](https://github.com/axieax/zsh-starship) for this zsh plugin.
23+
24+# Installation
25+
26+**Note:** you have to [install starship](https://starship.rs/guide/#%F0%9F%9A%80-installation) first.
27+
28+## [oh-my-zsh](https://github.com/ohmyzsh/ohmyzsh)
29+
30+Add `starship` to the plugins array in your `.zshrc` file:
31+
32+```zsh
33+plugins=(... starship)
34+```
35+
36+## ⚠️ ENABLING THIS PLUGIN WILL UNSET YOUR ZSH_THEME VARIABLE
37diff --git a/plugins/starship/starship.plugin.zsh b/plugins/starship/starship.plugin.zsh
38new file mode 100644
39index 0000000000000000000000000000000000000000..8c5d9135e0064a6367e3f72599d54a7d0defaf3c
40--- /dev/null
41+++ b/plugins/starship/starship.plugin.zsh
42@@ -0,0 +1,8 @@
43+# ignore oh-my-zsh theme
44+unset ZSH_THEME
45+
46+if (( $+commands[starship] )); then
47+ eval "$(starship init zsh)"
48+else
49+ echo '[oh-my-zsh] starship not found, please install it from https://starship.rs'
50+fi