Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/logico/logico-zsh-theme
A minimal Oh-my-zsh theme.
https://github.com/logico/logico-zsh-theme
minimal oh-my-zsh-theme zsh zsh-theme
Last synced: about 1 month ago
JSON representation
A minimal Oh-my-zsh theme.
- Host: GitHub
- URL: https://github.com/logico/logico-zsh-theme
- Owner: logico
- License: mit
- Created: 2019-03-10T01:12:47.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2021-01-19T10:35:09.000Z (almost 4 years ago)
- Last Synced: 2024-07-22T20:34:52.848Z (5 months ago)
- Topics: minimal, oh-my-zsh-theme, zsh, zsh-theme
- Size: 10.7 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Logico Zsh theme.
A minimal Oh-my-zsh theme.## Features
- Fast.
- Integration with git.
- Better indicator for `vi-mode`.
- Indicator for remote sessions.## Install.
1.- Download the theme.
```
curl https://raw.githubusercontent.com/logico-dev/logico-zsh-theme/master/logico.zsh-theme -Lo ~/.oh-my-zsh/themes/logico.zsh-theme
```2.- Enable it on `.zshrc`.
```
ZSH_THEME="logico"
```3.- Restart the terminal.
![Screenshot](https://logico.ar/img/2019/03/25/logico-zsh-theme.gif)
---
# Cusor change on vi-mode.
Add this to your .zshrc
```
function zle-line-init zle-keymap-select {
RPS1="%{$fg_bold[white]%}%{$bg[black]%}${${KEYMAP/vicmd/ NORMAL }/(main|viins)/}%{$reset_color%}"
RPS2=$RPS1
if [ $KEYMAP = vicmd ]; then
echo -ne "\033]12;deepskyblue\x7\e[1 q"
else
# the insert mode for vi
echo -ne "\033]12;199\x7\e[5 q"
fi
zle reset-prompt
}zle -N zle-line-init
zle -N zle-keymap-select
```This theme is part of the [Typewriter suite](https://github.com/logico-dev/typewriter).