Last active
April 3, 2019 10:52
-
-
Save koesherbacon/e8b1ef0627e36efaffa6780d1b809031 to your computer and use it in GitHub Desktop.
My newly zsh theme, 'ev', created by copying the look from my most recent and current Fish prompt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### | |
# | |
# Notes: | |
# | |
# This prompt looks EXACTLY like the awesome one I created for Fish. The text following the prompt is also colored the same as the prompt's 'ascii art' as well. I don't know how to create zsh auto-corrects or regular font color or colors for all the variables that Fish is able to use with fish_config. | |
# | |
# In order to find the colors, which are set using the '%{$FG[XYZ]%}' command within Prompt, were found using this command which prints many different colored text with a 3-digit next to it. This 3-digie code is zsh's version of #1a2b33 html color codes | |
# Here's the link to setting up this command, which is then placed into ~/.zshrc and run with the '%{$FG[165]%}' command | |
# https://gabri.me/blog/custom-colors-in-your-zsh-prompt | |
# https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/lib/spectrum.zsh | |
# https://github.com/robbyrussell/oh-my-zsh/blob/master/lib/spectrum.zsh#L23 | |
# | |
### | |
# terminal coloring | |
export CLICOLOR=1 | |
export LSCOLORS=dxFxCxDxBxegedabagacad | |
local git_branch='$(git_prompt_info)%{$reset_color%}$(git_remote_status)' | |
PROMPT="%{$FG[165]%} ╭──○ %{$FG[027]{%{ %~ }%{$reset_color%} | |
%{$FG[165]%} ╰──▷ %{$reset_color%}"%{$FG[165]%} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment