Skip to content

Latest commit

 

History

History
84 lines (68 loc) · 3.72 KB

Terminal-Setup.md

File metadata and controls

84 lines (68 loc) · 3.72 KB

Terminal Setup

The following features depend on terminal settings.


Continuous Line

For the continuous separator line above the prompt, you need a font that has the ▁ (U+2581) symbol. These are the known compatible fonts:

  • IBM Plex Sans
  • Hack
  • Fira Code
  • Anonymous Pro
  • Courier New
  • Fantasque Sans Mono
  • Free Courier
  • FreeMono
  • Hermit
  • Inconsolata
  • Jetrains Mono
  • Latin Modern Mono
  • League Mono
  • Liberation Mono
  • Linux Libertine Mono O
  • Monospace
  • monofur
  • Noto Mono
  • Noto Sans Mono
  • Terminus
  • Ubuntu Mono
  • Andale Mono
  • Courier Prime Code
  • DejaVu Sans Mono
  • IBM 3270

Even if your current font does not have the symbol, it is very likely that you have another font installed which does have it being used as fallback.


Symbols

For symbols you could use a font patched with Nerd Fonts, such as FiraCode Nerd Font. If the linked FiraCode Nerd Font doesn't work, you could try patching it yourself (or any other font for that matter).

Install FiraCode Nerd Font

  1. Follow the link to FiraCode Nerd Font, navigate to the ttf file for the font size you want (such as Regular > complete > Fira Code Regular Nerd Font Complete.ttf, and download it (right click should have an option)
  2. Add it to your system (probably by double clicking the font file)
  3. Set it as the font for your terminal (depends on your terminal, might need to enable font ligatures)

Specify Symbols

Choose your symbols by assigning to the variables HEADLINE_USER_PREFIX, HEADLINE_HOST_PREFIX, HEADLINE_PATH_PREFIX, and HEADLINE_BRANCH_PREFIX. You can do this in your ~/.zshrc after the theme has been sourced, or in the theme file itself. The symbols I used are in comments in the theme file, but you will only see them properly once your font is installed.


Colors

The colors of the theme are customized with ANSI SGR codes (see Customization), but it's worth noting that your terminal ultimately decides the exact color each code represents. Also, the background and cursor colors are set by the terminal.

iTerm2

The iTerm2 color schemes I use (featured in the screenshots) are available here.

Hex Values

If you just want the main colors for the 3 themes (dark, light, and brown), here they are:

Dark Light Brown
black #212121 #252525 #432C1A
red #EE5656 #DB4F4F #E34642
green #84D74B #6FAE44 #909B00
yellow #EFC83D #E49F26 #ECA915
blue #5EAFFF #4C8FDD #4698A3
magenta #EB6AB9 #CD58DC #DA698D
cyan #5ED7AF #17AA9B #BA7C3E
white #CCCCCC #E4E1DE #DDC165
light black #535353 #9F9994 #896B4C
light red #FF7B7B #ED7B7B #E17662
light green #B7F178 #96D262 #BFC659
light yellow #FAEF59 #E8C138 #FFCA1B
light blue #89DFFF #84B7EA #7CC9CF
light magenta #FFA3D5 #F271BF #F492A6
light cyan #95FFE9 #63CBA8 #E6A96B
light white #F4F4F4 #F9F8F7 #FFEAA3
background #101010 #EFEEEC #33200E
foreground #E3E3E3 #323232 #F2D886
cursor #E3E3E3 #8F8C88 #EC6F23