Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
linux_wiki:zsh_and_oh-my-zsh [2018/07/28 16:15] billdozor [Change Theme] |
linux_wiki:zsh_and_oh-my-zsh [2018/08/14 09:44] billdozor [Install Fonts: Windows] |
||
---|---|---|---|
Line 50: | Line 50: | ||
Easily change your zsh theme. | Easily change your zsh theme. | ||
+ | * List of all theme names/ | ||
+ | * Agnoster theme: https:// | ||
- | List of all theme names/ | + | \\ |
- | + | Example: Change to agnoster | |
- | * Edit zsh config< | + | * Edit zsh config< |
# Set theme name here | # Set theme name here | ||
ZSH_THEME=" | ZSH_THEME=" | ||
* Re-read config changes< | * Re-read config changes< | ||
+ | * **Note**: The agnoster theme relies upon Powerline fonts for certain symbols. See next section in order to install the font. | ||
+ | |||
+ | ---- | ||
===== Install Powerline Fonts ===== | ===== Install Powerline Fonts ===== | ||
- | The powerline fonts are intended for use with the agnoster theme. | + | The powerline fonts are intended for use with the agnoster theme (they properly display certain symbols that it uses), but are a clean looking set of fonts that would be a great addition any in case. |
+ | |||
+ | ==== Install Fonts: Linux ==== | ||
* Clone the repo< | * Clone the repo< | ||
Line 68: | Line 75: | ||
* Quit your terminal and re-open it | * Quit your terminal and re-open it | ||
* Configure your terminal to use a PowerLine regular font | * Configure your terminal to use a PowerLine regular font | ||
- | * GNOME Terminal | + | |
* Edit > Profile Preferences | * Edit > Profile Preferences | ||
* Check " | * Check " | ||
- | * Browse to and select "Meslo LG L for Powerline Regular" | + | * Browse to and select |
+ | * **Konsole | ||
+ | * Settings > Manage Profiles | ||
+ | * Click either "Edit Profile" | ||
+ | * Click the " | ||
+ | * Browse to and select a Powerline font. (such as "Meslo LG L for Powerline" | ||
+ | * Click " | ||
+ | |||
+ | \\ | ||
+ | **Note**: If Symbols aren't displaying properly, close the terminal application and re-open it for the fonts to load. (And verify you are using a Powerline font) | ||
+ | |||
+ | \\ | ||
+ | ==== Install Fonts: Windows ==== | ||
+ | |||
+ | * Open a web browser to the git repo: https:// | ||
+ | * Click the "Clone or download" | ||
+ | * Extract somewhere temporary | ||
+ | * Copy and paste all of the .ttf files from "Meslo Slashed" | ||
+ | * You will be prompted if you would like to install the fonts | ||
+ | |||
+ | \\ | ||
+ | * **Configure Putty/ | ||
+ | * Open Putty/Kitty (optionally, | ||
+ | * Settings > Window > Appearance | ||
+ | * Under Font settings | ||
+ | * Check the box "Allow selection of variable-pitch fonts" | ||
+ | * Click the " | ||
+ | * Browse to "Meslo LG L for Powerline" | ||
+ | * Save the session settings | ||
+ | |||
+ | \\ | ||
+ | * **Configure colors** (Solarized Dark) | ||
+ | * Open Putty/Kitty (optionally, | ||
+ | * Settings > Window > Colours | ||
+ | * Select each color to adjust and change the RGB values< | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | </ | ||
+ | * Click Apply | ||
+ | * Save settings to session | ||
+ | * Alternative registry imports: https:// | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Install Plugin: Syntax Highlighter ===== | ||
+ | |||
+ | The syntax highlighter plugin adds syntax highlighting to the commands you are typing. | ||
+ | |||
+ | * Clone the repo< | ||
+ | * Copy or move it into your oh-my-zsh plugins directory< | ||
+ | * Enable the plugin in your zshrc config< | ||
+ | |||
+ | # Add plugins to enable space separated | ||
+ | plugins=(git python vi-mode z zsh-syntax-highlighting)</ | ||
+ | * Re-read config file< | ||
---- | ---- | ||