![]() In the Window tab in the “Settings for New Window” section, uncheck “Hide after opening.”.In Preferences under Profiles, select the default profile.The shortcut will open iTerm at the selected folder, instead of from the folder that has been opened. Go to System Preferences -> Keyboard -> Shortcuts -> Services -> Files and Folders and give preferred shortcuts. The error you get is because the session had short life. Session -> Edit session, Session tab, ensure ‘Automatically close a session when it ends’ is checked and then, General tab, ensure Default profile is selected (or whichever profile you’re wanting to set), and click ‘Click to Set’. Summary #Įffectively using tools saves a lot of time and improves productivity. Antigen is to zsh, what Vundle is to vim.įind more about Antigen here. The concept is pretty much the same as bundles in a typical vim+pathogen setup. I recently started using Antigen and it seems a better option for installing plugins and all.Īntigen is a small set of functions that help you easily manage your shell (zsh) plugins, called bundles. So instead of doing the following: md someDirectory & cd someDirectoryĪntigen is a simple tool to manage the zsh environment. Basically, what the take command does is to create a directory and change the path to it. One of my favourite shortcut command provided by Oh-my-zsh. I included this because I think this might be useful to some of you.īasically, when you call open-pr, the function will verify if you are working on a fork (by convention, you have an upstream remote), then, it will open your browser in the correct URL so you can just hit the Create Pull Request button. I haven't played around with this plugin much. See any of the GIF images, you can observe that the command syntax color changes as when I type. You can find the complete zsh git cheatsheet here in this linkįish shell like syntax highlighting in your zsh shell. I am sure that once you start using this plugin, you won't look back. See the below image to know how I usually work with these aliases. Just kidding, this is a wonderful plugin that saves a lot of my time. I use this a lot everyday and I think I might've forgotten the original git commands now :). This plugin provides a set of git aliases to oh-my-zsh. Then, type h in the command prompt and enter. Enable the h plugin by adding it to the plugin section of. Sometimes it is easy to see all of them and select the desired one. The H plugin lists all your previous command history right there. The z plugin remembers this navigation and the next time I just need to type the following and press TAB z LookAround For example, after enabling the z plugin, if I do this: cd ~/Dropbox/code_playground/LookAround The Z plugin remembers your navigation history in the terminal, and auto completes it for you next time. I found some these oh-my-zsh plugins extremely useful in my daily tasks: Let's say you if you want to add a plugin foobar to your configuration. This can be done by adding them into the. It also provides extending the framework with custom plugins. Like iTerm, ZSH is the default bash shell replacement and Oh-my-zsh is the framework built for configuring the zsh shell. For the complete set of iTerm features, check this link. This is not the end iTerm has lot of features, but this post is not enough for explaining all of them. iTerm can expose all the tabs for you with the key combination CMD+OPTIONS+E and then you can search for the tab. It is hard to move from one tab/pane to another pane when not sure where exactly it is. This is another feature excites me when I have to work with so many tabs or panes. Press the key combination CMD+/ and iTerm will highlight where your cursor is. Once you start working with multiple split panes and tabs, sometimes it's hard to find where your cursor is. You can see the paste history in a dropdown menu by pressing the keys CMD+SHIFT+H ITerm also keeps a buffer of the previous paste history. Press CMD+ from the terminal and you can see the autocomplete dropdown showing the completion. ITerm has a pretty cool drop-down menu for auto-completion. The shortcuts for splitting the terminal is CMD+D ( for vertical ) and CMD+SHIFT+D ( for horizontal ).įor adding a new tab, the shortcut is CMD + T ( same like your browser ). iTerm support splitting the current terminal panes vertically/horizontally and adding any number of tabs. Often we have to work with multiple terminals. Below, you will see some of them which made me choose iTerm. It comes with ton of features missing in default terminal. iTerm #Īs I said already, iTerm is a mac terminal replacement. ![]() Here, we'll see how to achieve some productivity improvements by effectively using these tools.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |