mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-16 02:27:03 +01:00
git images
This commit is contained in:
parent
95ed695f0b
commit
41380e0a71
3 changed files with 25 additions and 8 deletions
|
|
@ -117,12 +117,6 @@ Common Install Steps
|
||||||
```
|
```
|
||||||
|
|
||||||
* install [Starship](https://starship.rs)
|
* install [Starship](https://starship.rs)
|
||||||
* run installer
|
|
||||||
|
|
||||||
```(shell)
|
|
||||||
curl -sS https://starship.rs/install.sh | sh
|
|
||||||
```
|
|
||||||
|
|
||||||
* take a copy Starship config file
|
* take a copy Starship config file
|
||||||
|
|
||||||
```(shell)
|
```(shell)
|
||||||
|
|
@ -131,6 +125,12 @@ Common Install Steps
|
||||||
ln -s ~/.oh-my-zsh/templates/starship.toml
|
ln -s ~/.oh-my-zsh/templates/starship.toml
|
||||||
```
|
```
|
||||||
|
|
||||||
|
* run installer
|
||||||
|
|
||||||
|
```(shell)
|
||||||
|
curl -sS https://starship.rs/install.sh | sh
|
||||||
|
```
|
||||||
|
|
||||||
* install [fzf](https://github.com/junegunn/fzf#installation) for [zsh-interactive-cd](https://github.com/fklassen/ohmyzsh/tree/master/plugins/zsh-interactive-cd) support
|
* install [fzf](https://github.com/junegunn/fzf#installation) for [zsh-interactive-cd](https://github.com/fklassen/ohmyzsh/tree/master/plugins/zsh-interactive-cd) support
|
||||||
* Start a terminal session
|
* Start a terminal session
|
||||||
|
|
||||||
|
|
@ -163,6 +163,6 @@ There are a few things that can make things even better
|
||||||
* install Mosh replacement [Eternal Terminal](https://eternalterminal.dev/)
|
* install Mosh replacement [Eternal Terminal](https://eternalterminal.dev/)
|
||||||
* on macOS
|
* on macOS
|
||||||
* install macVIM via `brew install macvim`
|
* install macVIM via `brew install macvim`
|
||||||
* install some colour themes for iTerm2 that you can choose from
|
* if you don't like Gruv Box, you may want to install some colour themes for iTerm2
|
||||||
* [iTerm2 snazzy](https://github.com/sindresorhus/iterm2-snazzy)
|
* [iTerm2 snazzy](https://github.com/sindresorhus/iterm2-snazzy)
|
||||||
* [GitHub VS Code Theme for iTerm](https://github.com/cdalvaro/github-vscode-theme-iterm)
|
* [GitHub VS Code Theme for iTerm](https://github.com/cdalvaro/github-vscode-theme-iterm)
|
||||||
|
|
|
||||||
|
|
@ -19,4 +19,18 @@ success_symbol = '[➜](bold green)' # The 'success_symbol' segment is being set
|
||||||
disabled = true
|
disabled = true
|
||||||
|
|
||||||
# increase command timeout from default 500 milliseconds
|
# increase command timeout from default 500 milliseconds
|
||||||
command_timeout = 1500
|
command_timeout = 1500
|
||||||
|
|
||||||
|
[git_status]
|
||||||
|
conflicted = "⚔️ "
|
||||||
|
ahead = "🏎️ 💨 ×${count}"
|
||||||
|
behind = "🐢 ×${count}"
|
||||||
|
diverged = "🔱 🏎️ 💨 ×${ahead_count} 🐢 ×${behind_count}"
|
||||||
|
untracked = "🛤️ ×${count}"
|
||||||
|
stashed = "📦 "
|
||||||
|
modified = "📝 ×${count}"
|
||||||
|
staged = "🗃️ ×${count}"
|
||||||
|
renamed = "📛 ×${count}"
|
||||||
|
deleted = "🗑️ ×${count}"
|
||||||
|
style = "bright-white"
|
||||||
|
format = "$all_status$ahead_behind"
|
||||||
|
|
|
||||||
|
|
@ -143,3 +143,6 @@ fi
|
||||||
if [ -f "$HOME/.config/starship.toml" ]; then
|
if [ -f "$HOME/.config/starship.toml" ]; then
|
||||||
eval "$(starship init zsh)"
|
eval "$(starship init zsh)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# opt out of et telemetry data upload
|
||||||
|
ET_NO_TELEMETRY=1
|
||||||
Loading…
Add table
Add a link
Reference in a new issue