![]() In the folder $HOME/.local/include, you can include shell scripts with your aliases. zshrc for file in $HOME/.local/include/* do source $file done For me, I write all my aliases in $HOME/.local/include and include this snippet in $HOME/.zshrc. It reduces key strokes and makes developers more efficient. To speed up commands on the terminal, we always need aliases. Say goodbye to boring white text by installing it using: git clone $/plugins/zsh-syntax-highlightingĪfter installing custom plugins, we can enable them by adding it to the list of plugins to load in $HOME/.zshrc: Zsh-syntax-highlighting - This plugin adds colour to the commands you are typing. To install: git clone $ZSH_CUSTOM/plugins/zsh-autosuggestions This is especially useful when you cannot remember an exact command or you have a long command that you wish to modify. This plugin helps to autosuggest commands you’ve previously used before and you can accept the suggestion using the → key. ![]() Zsh-autosuggestions - We issue hundreds of commands on the command line everyday. The power of oh my zsh comes from all the plugins that can be added to your shell experience. To configure p10k to achieve the look above, run the following in iTerm2 and follow through the install wizard to customize to your own liking: p10k configure Oh My Zsh Plugins To install it, we’ll use brew once again (there are many other install options listed on the git repo): brew install romkatv/powerlevel10k/powerlevel10k echo "source $(brew -prefix)/opt/powerlevel10k/powerlevel10k.zsh-theme" >~/.zshrc (Yes, I know there are many themes out there but I highly highly highly recommend this one!) It is super easy to setup and super sexy to have on your terminal with nice fonts and icons. To install oh my zsh, run the following in iTerm2: sh -c "$(curl -fsSL )" It’s absolutely essential to any developer as it contains hundreds of plugins and themes to configure your zsh. There’s a reason why oh my zsh has 147k stars. You must be wondering - “Hey, I’ve installed iTerm2 but it’s nowhere as sexy as yours, David.” Fret not my child, here’s what you install next. To install, run the following in the Terminal: brew install -cask iterm2įrom this point onwards, iTerm2 will replace the Terminal application forever. I don’t know about you but the right-hand side terminal looks so much more sexy visually, let alone the usage of it. elia created keycastr organization and forked into it.Left: Terminal Right: iTerm2 (Images by Author).akitchen fixes for more recent OS X releases and other maintenance.To modify the position of displayed keystrokes, click and drag the text like so: The default position is on the bottom left of your display. Make sure to check the "Display all keystrokes" checkbox if you would like to display more than just the modifier keys.Īlternatively, keep this box unchecked to only display modifier keys (e.g. ![]() If Ke圜astr is already in the list, then click the − button and add Ke圜astr again to be certain that the right application is chosen. To add Ke圜astr to the list click the + button and select Ke圜astr from the file system. On older versions of macOS, or if for some reason the app doesn't appear under the Input Monitoring menu (or if you want to pre-enable it) then you may manually add it to the list of apps in the Accessibility menu. ![]() Simply unlock this menu and check the box next to Ke圜astr to enable it. On newer versions of macOS (10.15+) there is a new Input Monitoring menu under Security & Privacy within the System Preferences app, and Ke圜astr will appear there automatically the first time you run it. Ke圜astr requires access to the macOS Accessibility API in order to receive your key events and broadcast the keystrokes you are interested in. Brew cask install keycastr Enabling Accessibility API Access
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |