![]() ![]() word jumping with arrow keys / natural text editingĬan be found in the section below.Restart iTerm2 for all changes to take effect. Set this font in iTerm2 (iTerm → Preferences → Profiles → Text → Font), in the dropdown select the desired Font. Open the downloaded font and press "Install Font". Source Code Pro + Font Awesome, this one is needed if you want the icons from Font Awesome as shown in the screenshot for Powerlevel10k.If you did not go with Powerlevel10k or you want another font, read on: If you want to trigger the configuration wizard immediately, simply run p10k configure to discover all options, which are plentiful. Powerlevel10k offers a whole lot more and is extremely configurable, best is to check its project page. Once you do so, when you start a new terminal session, the Powerlevel10 configure wizard will be launched to set your prompt, beware, there are many many options! Then edit your ~/.zshrc and set ZSH_THEME="powerlevel10k/powerlevel10k". So if you prefer the Powerlevel10k look with added info such as exit codes and timestamps on the right, run: git clone $ZSH_CUSTOM/themes/powerlevel10k ![]() Why Powerlevel10k? Well, because it's a drop-in replacement for Powerlevel9k, just a lot faster to render your prompt. When the installation is done, edit ~/.zshrc and set ZSH_THEME="agnoster" for the default look. More info here: Install with curl sh -c "$(curl -fsSL )" You can create a different profile other than Default if you wish to do so. Apply them in iTerm through iTerm → preferences → profiles → colors → load presets. The color settings will be imported into iTerm2. Just save it somewhere and open the file(s). Solarized Dark theme (patched version to fix the bright black value). ![]() ITerm2 has better color fidelity than the built in Terminal, so your themes will look better. Or, if you do not have homebrew (you should )): Download and install iTerm2 It's done by a cronjob touching or removing a file to indicate status every minute, and the file is checked by the prompt: online-check.sh.How to install iTerm2 brew install -cask iterm2 I found that when I travel with a 3G dongle attached, it was useful to get a glance status. This makes use of a battery capacity script from 's blog (a good overall read too) with a small tweak (I use rectangles): batcharge.py.įinally I have an online indicator, green for active connection, and red for not. One key difference is that I put the cursor on a line by itself so I don't have to change where I'm looking to find my cursor. Like I said, I'm using the Agnoster theme with a few small tweaks.įirstly here's my complete theme file. Note that I've also sometimes tweak the "Minimum contrast" to around 1/5th on the slider in iTerm, this is to get around some dark colours used in Grunt and Yeoman (though may have been long resolved).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |