![]() Once you find what you want, just press enter to insert it on the terminal. You know you ran a command before, and now you need it again, but can't recall what the exact command was? Well, fzf let's you easily search for it when you hit ctrl+r and start typing your search term. bat.conf file: # Set the theme to "OneHalfLight bat.conf config file and export a BAT_CONFIG_PATH variable pointing to it in your ~/.zshrc file: export BAT_CONFIG_PATH=path/to/.bat.conf To customize it further, you can create a. You can add an alias in your ~/.zshrc file to replace the cat command with bat: alias cat="bat -n" Install it with homebrew: brew install bat Now your terminal should already look something like this ( restart your terminal if the changes are not applied): ] || source ~/.p10k.zshĪlternatively, you can start p10k's configuration wizard with the "p10k configure" command in your terminal and follow the prompts to try out different configuration options. If you copied my settings file with the link above, make sure to also add these lines to your ~/.zshrc file in order make p10k's configuration wizard not show up every time you start your terminal: # To customize prompt, run `p10k configure` or edit ~/.p10k.zsh (create the file in case it doesn't exist yet.) With these steps done, you can copy my Powerlevel 10k configuration into your ~/.p10k.zsh file to have the same settings as I do. If you're not sure about how to set up downloaded font in your terminal, take a look on the official Powerlevel10k guide for how to set it up. Install the font files by double clicking each one and then clicking on "Install Font".Ĭonfigure your terminal to use the downloaded font by going into your terminal settings and choosing the " MesloLGS NF" font family. Set Powerlevel10k as your zsh theme by changing the ZSH_THEME line in your ~/.zshrc file to: ZSH_THEME="powerlevel10k/powerlevel10k" Install Oh My Zsh: sh -c "$(curl -fsSL )"ĭownload Powerlevel10k theme: git clone -depth=1 $/themes/powerlevel10k Use homebrew to install zsh and exa: brew install zsh exa Installing & setting up the required software ⚠️ Note: you'll still need to manually select the MesloLGS NF font family in your terminal's settings. In a rush? No problem! I've made a script to automatically install and setup the tools mentioned in this article, simply run the following command and you should be good to go: sh -c "$(curl -fsSL )" If you spend some time using your terminal, I'm sure that at least once you have wished for a better experience when working with the terminal, and that's what we'll achieve today.įor this terminal configuration we'll be using Zsh, Oh My Zsh, Powerlevel10k, exa, and a custom font to have access to unicode icons on the terminal.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |