![]() ![]() ![]() I will leave my comment below just for reference of the kinds of things that it would be nice to do. UPDATE: I looked back at the picture to see that you all had custom option as well that you are thinking about. It's also what allows for eventually building something like this: This is what allows for having a modern text editing experience. The Prompt and Input Editor are two separate UI elements that are both native to Warp. Thank you.īeta Was this translation helpful? Give feedback. Warp is bringing the terminal into the modern age. Terminals have been stuck decades behind modern code editors in terms of ease of use and productivity (unless you’re unusually well versed in POSIX and shell scripting). I appreciate the work everyone is doing here. My input is just one anecdote, so take it with a grain of salt. Why turn the prompt into a junk drawer of missing features when Warp could actually add them natively? Beyond git and language/framework info, what else do people need to know? Googling around for custom prompts, it seems like it boils down to knowing who you are (username) and where you are (directory, git status, host name/address). My point is, custom prompts are historically a first recourse for plugging holes in terminal functionality. Its visibility could even be toggled by the user. This compatibility info could live somewhere else in the UI, e.g. Perhaps a custom prompt isn’t needed at all. Here’s what my Starship prompt looks like: The output cannot be rendered anywhere without that font. I don’t even use the nerd fonts, which hack a proliferation of ephemeral technology icons into some ostensibly less used Unicode characters. That’s the only reason I still use Starship. ![]() Upon reopening, it will either pick up again or can be started with p10k configure.Īny configuration from here is subjective, but I have included my configuration steps.The only thing I need out of a custom prompt beyond git info is some language/framework compatibility info. After the fonts have been installed, it may wish to restart. It is important to allow powerlevel10k to install the recommended Meslo fonts! Refusing will negate all the hard work so far, as the pretty colors/icons/whatever will simply not work (well/at all). This spiritual successor of powerlevel9k has supremely revamped the configuration process, enabling a much smoother setup experience! After installing powerlevel10k and adding the theme to my ~/.zshrc (ie.ZSH_THEME="powerlevel10k/powerlevel10k ), configuration is a breeze! Simply source ~/.zshrc and the configuration editor will appear! My first exposure to Vim plugins was through powerline configuration, so it is no surprise that I choose powerlevel10k. ![]() Selecting a ZSH theme can be an onerous task, given the vast quantity of delectable options available. With this behind us, we can jump immediately to “the beast”! Installing oh-my-ZSH itself is quite painless ( Installation Guide), and cleans up the terminal quite a bit…but we’re just getting started! However, I soon adopted iTerm as my own, and have been enjoying the journey ever since! The only speedbump in the road is configuration specifically, configuring oh-my-ZSH and the dreaded Powerline fonts.Īfter installing iTerm2, the relatively bland interface reminds me why configuration is so vital. My terminal of choice has always been iTerm2 (in a Mac environment), harkening back to my first days as a fledgling developer in an unfamiliar environment (read: copying everyone else’s setup). Replacing Caps Lock with Escape is a must! Think about how often you use both…now go ahead and disable Caps Lock! The adventure begins The final and most dreaded step is selecting and configuring a terminal, as something always seems to go haywire around this point. This is followed shortly by installing Vim and its key bindings everywhere that supports them (VSCode, iTerm, etc), as I have really grown to appreciate the productivity boost this brings. Thankfully Apple makes this extremely easy, with a dedicated path to follow to painlessly remap the keys. Caps Lock is the first to go, a perfectly useless function that is infinitely better as an extra Escape key. There are several things I will always do when configuring a new machine. Once upon a time, a developer joined a small company and was given a machine with which to unlock the mighty powers of coding and productivity… Known as “Mac,” this machine promised the world, with only one seeming obstacle…the terrifying beast known as “configuration”! ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |