• Stars
    star
    122
  • Rank 292,031 (Top 6 %)
  • Language
    Shell
  • Created over 7 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Minimalistic zsh theme inspired by the old-fashioned hobbies

sobole

Minimalistic zsh theme inspired by the old-fashioned hobbies. No verbose gimmicks, no emoji, no fidget spinners, and no other visual noise.

Works best with oh-my-zsh and zsh-syntax-highlighting installed.

Showcase

Light mode (SOBOLE_THEME_MODE=light):

sobole.zsh-theme

sobole.zsh-theme

And dark mode (SOBOLE_THEME_MODE=dark):

sobole.zsh-theme

There are more examples provided in the showcases directory.

Installation

antigen

If you're using antigen, you can test these themes in a running zsh with antigen theme sobolevn/sobole-zsh-theme.

zgen

If you're using zgen, add them to your init.zsh with zgen load sobolevn/sobole-zsh-theme sobole.

Manual

Just copy the sobole.zsh-theme to your ~/.oh-my-zsh/custom/themes/ folder.

This set of commands will probably do what you want:

git clone https://github.com/sobolevn/sobole-zsh-theme.git
ln -s $PWD/sobole-zsh-theme/sobole.zsh-theme ~/.oh-my-zsh/custom/themes/sobole.zsh-theme

Then set ZSH_THEME="sobole" inside your .zshrc.

Here's the official docs on how to do that.

Features

virtualenv, git, ls, grep, autocomplete colors, pretty error codes, different users, different color modes.

Configuration

This theme supports several configuration options, which are provided as env variables:

$SOBOLE_THEME_MODE - sets the theme mode. There are two options available: light (set by default) and dark. Internally changes some colors when set to dark to give the best look on both color schemes.

$SOBOLE_DEFAULT_USER - this options sets how the user is displayed. User is not displayed until it equals $SOBOLE_DEFAULT_USER, but imagine you executed sudo su - admin, that's how it will look like:

sobole-user-showcase

$SOBOLE_DONOTTOUCH_HIGHLIGHTING - tweaks zsh-syntax-highlighting. If it is installed, modifies string colors, some other minor things. Enabled by default. Set it to true if you do not want these tweaks. That's how it looks like:

sobole-syntax-highlighting-showcase

Indications

sobole supports some icons (not many of them!) to indicate what is going on. Almost all of them are about git repository status. And one icon idicates that last command did not succeed.

Symbol Meaning
βœ— Repository is dirty
βœ” Repository is clean
Β§ Repository has unmerged changes
✚ Repository has added files
⚠️ Last command resulted in error

Fonts

You can choose any font that prints unicode symbols. In the examples Menlo Regular is used.

You can install it with: brew cask install font-menlo-for-powerline. Or download it here.

And then configure your terminal's font setting.

Using this theme

Are you using sobole? Add link to your dotfiles! Currently using:

References

This theme borrows some setup from avit and obraun themes.

License

WTFPL: do the fuck you want. If you had sold it, let me know just for fun.

More Repositories

1

awesome-cryptography

A curated list of cryptography resources and links.
5,836
star
2

git-secret

πŸ‘₯ A bash-tool to store your private data inside a git repository.
Shell
3,692
star
3

dotfiles

dotfiles for the developer happiness: macos, zsh, brew, vscode, codespaces, python, node, elixir
Shell
583
star
4

python-code-disasters

This code is so bad, that it is worth sharing.
Python
147
star
5

misspell-fixer-action

πŸ“Automatically fixes typos and mistakes in your source code and docs!
Shell
139
star
6

wakatime-zsh-plugin

πŸ•’Track how much time you have spent in your terminal!
Shell
82
star
7

sobolevn.github.io

sobolevn's personal page, where I rant about software and management
HTML
37
star
8

dotbot-brewfile

Install brew packages with dotbot: bundle style!
Python
21
star
9

restrict-cursing-action

Github Action to prevent cursing and bad language in issues and pull requests
JavaScript
19
star
10

dotbot-pip

Install pip packages with dotbot
Python
15
star
11

heisenbug-2019

Examples for Heisenbug 2019
Jupyter Notebook
12
star
12

vue-flow-typed

Flow type definitions for Vue and family
JavaScript
10
star
13

django_stubs_example

Example project to show out `django-stubs`
Python
9
star
14

python-pure-evil

This is a repository where I do fun things with python
Python
8
star
15

flake8-type-annotations

Flake8 plugin to enforce consistent type annotation styles
Python
7
star
16

ship-it-boardgame

6
star
17

dotbot-asdf

Install asdf plugins with dotbot
Python
6
star
18

phoenix_auth0

Example Phoenix app with auth0 authentication
Elixir
6
star
19

mssql-linux-friendly

MSSQL Server that works well and is friendly to the end user
Shell
4
star
20

generator-django-agility

[Deprecated] Agile Yeoman generator for Django Framework
JavaScript
2
star
21

itmo-2019

Repository for my lectures about quality for ITMO
Python
2
star
22

fpconf_elixir

Source code from my talk on #fpconf 2016
Elixir
1
star
23

devoops-conf-2019

Example repository with Github Actions
Shell
1
star
24

my-talks

My collection of talks
1
star
25

hey-officer

Detects secret values inside your files, prevents secrets from being leaked
Python
1
star
26

homebrew-tap

Custom formulas for Homebrew
Ruby
1
star
27

bluetooth-streamdeck-plugin

Elgato StreamDeck Bluetooth Plugin
Python
1
star
28

require-vpn-plugin

FireFox plugin to require an existing VPN connection before accessing specified hosts
JavaScript
1
star