Skip to content

Instantly share code, notes, and snippets.

@cloudnull
Last active October 23, 2025 16:19
Show Gist options
  • Save cloudnull/4cc7890acaae6cb809e811e09e9eaade to your computer and use it in GitHub Desktop.
Save cloudnull/4cc7890acaae6cb809e811e09e9eaade to your computer and use it in GitHub Desktop.

Revisions

  1. Kevin Carter revised this gist May 1, 2020. 1 changed file with 0 additions and 0 deletions.
    Binary file modified solus-oh-my-zsh-theme.png
    Loading
    Sorry, something went wrong. Reload?
    Sorry, we cannot display this file.
    Sorry, this file is invalid so it cannot be displayed.
  2. Kevin Carter revised this gist Apr 16, 2020. 1 changed file with 0 additions and 0 deletions.
    Binary file added solus-oh-my-zsh-theme.png
    Loading
    Sorry, something went wrong. Reload?
    Sorry, we cannot display this file.
    Sorry, this file is invalid so it cannot be displayed.
  3. cloudnull created this gist Apr 16, 2020.
    32 changes: 32 additions & 0 deletions solus.zsh-theme
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,32 @@
    # ZSH Theme - Based on Bira, influenced by Solus.

    if [[ $UID -eq 0 ]]; then
    local user_symbol='%F{196}#%f'
    else
    local user_symbol='%F{214}$%f'
    fi

    local return_code="%(?..%F{196}%? ↵%f)"
    local user_host='%F{81}%n%f%F{245}@%F{206}%m%f '
    local current_dir='%F{245}%~ %b%f'
    local git_branch='$(git_prompt_info)'
    local rvm_ruby='$(ruby_prompt_info)'
    local venv_prompt='$(virtualenv_prompt_info)'

    ZSH_THEME_RVM_PROMPT_OPTIONS="i v g"

    PROMPT="╭─${user_host}${current_dir}${rvm_ruby}${git_branch}
    ╰─➤ ${venv_prompt} ${user_symbol} "

    RPROMPT="${return_code}"

    ZSH_THEME_GIT_PROMPT_PREFIX="%F{220}% ‹"
    ZSH_THEME_GIT_PROMPT_SUFFIX="›%f"

    ZSH_THEME_RUBY_PROMPT_PREFIX="%F{154}% ("
    ZSH_THEME_RUBY_PROMPT_SUFFIX=")%f"

    ZSH_THEME_VIRTUAL_ENV_PROMPT_PREFIX="%F{202}% ("
    ZSH_THEME_VIRTUAL_ENV_PROMPT_SUFFIX=")%f"
    ZSH_THEME_VIRTUALENV_PREFIX=$ZSH_THEME_VIRTUAL_ENV_PROMPT_PREFIX
    ZSH_THEME_VIRTUALENV_SUFFIX=$ZSH_THEME_VIRTUAL_ENV_PROMPT_SUFFIX