tree: List contents of directories in tree-like format.Midnight Commander: a visual file manager.htop: "an interactive process viewer for Unix systems", which I use instead of the macOS Activity Monitor.app.HTTPie: a command line HTTP client with an intuitive UI, JSON support, syntax highlighting, wget-like downloads, plugins, and more which I often use instead of graphical programs like Postman or Insomnia.lazygit: a simple but amazing terminal UI for git commands.In this chapter I want to demonstrate some CLI tools which I regularly use in my terminal and which can highly increase your productivty: After installing the font on your operating system you need to select it as a font in your iTerm profile: I use the Cascadia Font from Microsoft in iTerm. The result should look similar to my terminal:Ĭhoose Minimal theme to have a cleaner UI with smaller tabs as shown in the screenshot above: Installation instructions can be found here. I really like Material Design so I also use it in iTerm thanks to this iTerm2 color scheme. zsh-syntax-highlighting: provides syntax highlighting for the shell zsh, red for invalid and green for valid commands:.zsh-autosuggestions: suggests commands as you type based on history and completions.web-search: adds aliases for searching with Google, Wiki, Bing, YouTube and other popular services.bgnotify: cross-platform background notifications for long running commands.npm: provides completion as well as adding many useful aliases for npm. docker: adds auto-completion for docker.brew: adds several aliases for common brew commands.git: provides many aliases and a few useful functions for git.Some words about the used plugins, here you can find a list of all available Oh My ZSH plugins: I use the avit theme but there are many other cool themes available. You can install it using this terminal command: Use - to quickly navigate between your last and current path.Example: take testFolder is the same as mkdir testFolder & cd testFolder take command creates a new directory and changes the path to it.) / (for root directory) and ~ (for home directory) You can omit the cd (change directory) command.Use alias commands, you can get a list of all available alias by running alias in your terminal.Autocompletion by pressing Tab key which allows selecting available directories, commands and files.You can enrich ZSH by using the Oh My ZSH framework which provides some functionality that will boost your productivity: Since macOS Catalina (10.15.2) the default shell is now ZSH instead of Bash. Paste history that shows everything you’ve pasted into the terminal.Different user profiles to save your window arrangements and more.Register a hotkey that brings the terminal to the foreground when you're in another application.Split your terminal into multiple panes which you can switch by hotkeys.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |