Click on “Profiles” in the Menubar and select the profile you made to make sure it works. preact watch Make sure to click the Directory radio buttonĮxiting out of the window will save your changes (there’s no button to do this). Separate commands with a semi-colonatom. One of my favorite recipes is to open up the project in my code editor and build it for development. If you want to run commands when this profile is opened, add them in the “Send text at start:” field. Make sure to give it a name and update the directory to be the the root of your project. Now click “Edit Profiles…” which should bring you here: Gamebyrd and Mongod are some profiles I made so don’t worry if you don’t see themĬlick the + sign at the bottom left side to create a new profile. ![]() Next, you’ll want to navigate to “Profiles” in the Menubar and click “Open Profiles…” You should see something like this Let’s make one!įirst, close all open command line windows in iTerm, and start with a new command line window. There’s a quick video walk through below if you get lost on any of these steps.Ī profile enables you to open a new command line window in a certain directory and run commands automatically. With profiles and window arrangements, you don’t have to worry about any of that. You also don’t want to close out windows, because then you’ll have to open a new window, navigate back to the correct directory, and remember the copy pasta to make it go. The problem is, you don’t know which window you want to click. Sometimes your terminal looks like this: Which one did I want again? Profiles are great and have changed my daily workflow. Here’s how: // Open a terminal windownano ~/.ssh/config // Fill in the following to create an aliasHost Hostname User IdentityFile ~/.ssh/ //Exit and save the filectrl + xyenter // Now instead of doing this to connectssh -i "" // You can do thisssh name-you-assigned iTerm2 Profiles and Arrangements To save time, create aliases for each server in under a minute. Remembering where they live and what they’re called can be a pain. Sometimes you have twenty different servers you’d like to SSH into. Sometimes, you need to SSH into a server somewhere. ![]() If you’re using the regular Mac Terminal, I highly recommend switching over to iTerm2 (it’s just better). Here are a couple of hot tips on how juggle multiple projects that will save you a ton of time. If you’ve ever had to manage multiple projects, keeping up with the command line can be cumbersome. By Marcus Wood Supercharge your workflow with profiles and arrangements
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |