Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
oh-my-zsh
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
github
oh-my-zsh
Commits
07454029
Unverified
Commit
07454029
authored
Apr 21, 2023
by
Andrew Xie
Committed by
GitHub
Apr 21, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(starship): create plugin (#10947)
Co-authored-by:
Carlo Sala
<
carlosalag@protonmail.com
>
parent
91c7ed45
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
30 additions
and
0 deletions
+30
-0
CODEOWNERS
.github/CODEOWNERS
+1
-0
README.md
plugins/starship/README.md
+21
-0
starship.plugin.zsh
plugins/starship/starship.plugin.zsh
+8
-0
No files found.
.github/CODEOWNERS
View file @
07454029
...
...
@@ -9,3 +9,4 @@ plugins/shell-proxy/ @septs
plugins/universalarchive/ @Konfekt
plugins/wp-cli/ @joshmedeski
plugins/zoxide/ @ajeetdsouza
plugins/starship/ @axieax
plugins/starship/README.md
0 → 100644
View file @
07454029
# 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
plugins/starship/starship.plugin.zsh
0 → 100644
View file @
07454029
# ignore oh-my-zsh theme
unset
ZSH_THEME
if
((
$+
commands[starship]
))
;
then
eval
"
$(
starship init zsh
)
"
else
echo
'[oh-my-zsh] starship not found, please install it from https://starship.rs'
fi
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment