Ls color folder icons zsh4/15/2024 I'm unaware of a quick way of installing multiple fonts on both platforms, so you might have to do this the old fashioned way. Linux and Mac should be able to support either TTF or OTF. You can search for the following in the extracted folder to save yourself some time: windows ttf -monoĭon't forget Windows also allows you to install batches of fonts at the same time from its settings. You can identify the correct files since they include Windows in their names. Windows requires a specific version of the font. This will cause some icons to be much smaller than they should be. (I'm currently using Fira Code.)ĭon't install a mono version of the font. Installing a Nerd Font is pretty easy: simply select a font from Nerd Fonts. Installing a nerd font will allow us to customise our terminal even further later on. Nerd Fonts are monospaced fonts with one big difference: they have been patched to include hundreds of symbols. Once done, try installing your theme of choice again and it should work! Installing a Nerd Font The above will add an alias to make the Hyper CLI work. To fix this run the following command: echo " \n \nalias hyper="cmd.exe /c hyper" > ~/.zshrc & source ~/.zshrc Since you're running WSL however, Linux won't have any access to the hyper command. This means that by running hyper i hyper-pmndrs the theme would be downloaded and installed. Installing themes is usually done with the Hyper CLI. Some extra setup is required to install and use themes on WSL. Press CTRL+, to open the config file and make sure that shell and shellArgs look like this: shell : 'C:\\Windows\\System32\\wsl.exe', shellArgs : , This can get annoying, so if you want to boot directly into WSL you can change Hyper configuration. You can then use the command wsl to boot into WSL. Hyper, by default, will boot into the Windows CMD. If you're planning to use Hyper and WSL together there's some extra configuration you probably want to go through. But my personal favorite is the poimandres-theme. You can check some themes out at the Hyper website. One of the reasons I like Hyper is because of the incredible amount of themes available for it. It's node based, really customisable and it has plenty of nifty plugins and themes. I'd also recommend having a good amount of themes to choose from, but that's up to you. It doesn't really matter which one you choose, but make sure that you can change its font. There are dozens of terminal clients out there, and they all do very similar things. You probably won't notice much difference here, but don't worry, we'll come back to this and install plugins for oh my zsh later in the guide. " $NVM_DIR/bash_completion" # This loads nvm bash_completion For example I moved my path for NVM: export NVM_DIR = " $HOME/.nvm" \ &. This means if you already have special configuration in your ~/.bashrc (which is likely if you have been using the system for a while) you should copy it into ~/.zshrc. This means that after writing those commands, you will be able to press Tab to autocomplete it with files from the folder you're currently in!Ĭonfiguration for ZSH will be done in ~/.zshrc. ZSH will enable some really cool functionality out of the box, such as tabbing auto completion for certain commands like cd, cat, and ls. At this point you'll want to move any specific settings from. Once ZSH is initialised you'll notice your prompt looks different. I selected (2) here, which enables some common settings. You might also be met with this configuration screen: If you're on Mac, you're already using ZSH by default, so you can skip this step entirely.Īfter installing ZSH, logout and log back in to allow it to complete setup. You can find installation instructions for ZSH on the official ZSH git repository. However, switching it out for ZSH will give us access to a bunch of functionality as well as plugins and customisation options. If you're on Linux, or if you're using WSL, it's likely your terminal uses Bash by default. This guide has been written specifically with UNIX systems in mind, so if you're on Windows I recommend installing WSL. Once you're done, your terminal should look something like this: It's by no means perfect, but it should be enough to get you started. And it's what I use every day for both personal and professional projects, so I know it works. That's why I've spent no less than a couple of years perfecting this cross-platform guide to improving your terminal experience. But, despite how fundamental terminals are for modern web development, they're incredibly minimal and limited with often quite bad UX. If you're a web developer, you probably spend a whole lot of time in your terminal. How to set up a modern terminal for developers
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |