gl to git pull, gp to git push, gco to git checkout. The git plugin adds a convenience layer for git with a bunch of shortcuts and functions. It’s like if `cd` and `autosuggestions` had a baby. z tracks your most visited directories and allows you to access them with very few keystrokes. You probably spend a lot of time in the same few directories. z - Hop around directories like bugs bunny The grey part is what the plugin is suggesting based on my input so far 5. That’s a nearly 85% decrease in keystrokes. Now, with zsh autosuggestions, I type n and it shows npm run watch, I press the right arrow key, and I’m done. For example, I used to type npm run watch a million times. zsh autosuggestions - Type less, do moreĬhances are you type the same command A LOT. This video is a good intro to some of its slick features that will make you a 2x developer at least.ĭon’t forget to install the keybindings with the following command $ $(brew -prefix)/opt/fzf/install 4. Stop it! With fzf you type ctrl+r once and type anything it will fuzzy find what you’re looking for and you just pick from a list. You probably use ctrl+r for reverse search hoping to get what you’re looking for. Remember that one command from three days ago that you ran? No? Me neither. If you get one thing from this list, get this. The instant prompt is exactly what it sounds like, it shows you the prompt even if zsh is loading stuff in the background so that you can start typing your next command. When we sprinkle our terminal with plugins, it can start to get slow. One of its killer features is the instant prompt. It has a better onboarding guide than most SaaS products, which makes for an easy transition from whatever theme you’re on currently.ĭifferent styles you can have with p10k. It’s infinitely configurable while still being friendly and easy to use. This is one of the best zsh themes I’ve used, and I highly recommend it. powerlevel10k theme - Make your terminal fabulous Oh My Zsh will not make you a 10x developer…but you may feel like one. If you don’t have it already, just go download it If you use zsh, this is an absolute must-have. For example, your ~/.zshrc might look like this: plugins=( git bundler dotenv osx rake ) This is plugin management made so easy your grandma could do it. Oh my zsh allows you to play around with a whole host of plugins by simply updating a list in your. oh my zsh - Manage your zsh plugins easier than ever Personally, I use iTerm2 with zsh as my terminal, but a lot of the tools below are terminal-agnostic. The following tools help me optimize my terminal for productivity. I want to spend these hours getting things done, not trying to remember commands, or typing out the same command for the nth time, or figuring out which terminal window is doing what. I spend a third of my life sleeping, and I probably spend a quarter of it on my terminal, and I don’t even use vim.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |