Customize iterm21/29/2024 ![]() Add two different Plugins using “Oh My ZSH” to improve productivity.Install different ITerm2 Schemes - These are just color schemes for the UI.Add two types of Themes using “Oh My ZSH” - some themes need extra steps so we will cover both.Install “Oh My ZSH “- This is a CLI tool to easily configure ZSH and add themes and plugins to ZSH.Install latest ZSH shell - This is more powerful than the regular bash shell.Install ITerm2 - This is a better alternative to the default Terminal.This may be confusing, so here is the summary of what we will be doing. But ZSH explained in this blog is more powerful stuff. If you want to just make your regular Bash Terminal powerful, take a look at my previous blog: “ Jazz Up Your Bash Terminal”. In this blog I’ll cover installing ITerm2, ZSH shell, “oh my ZSH”, Themes, ITerm2 color schemes, “oh my ZSH” plugins and enable “ligature” support to help create a beautiful and powerful Terminal. You can do that by going to Preferences, Keys and adding a hotkey with the option “Send Text.” Remember to add a newline character, \n.By rajaraodv Jazz Up Your “ZSH” Terminal In Seven Steps - A Visual Guide Hotkey shortcuts make it all much easier! I suggest setting a hotkey for any command you do often. There’s a lot more customization options, but the goal here is to make the things you do regularly most efficient: make a terminal window, log onto HPC, and shift between multiple terminal instances. I have separate backgrounds and color schemes on my HPC and Default profile so I can quickly differentiate. Go to Appearance (under Preferences, not under Profiles) and change your dimming to text only.Follow the instructions on this website: Make sure to check “Tile Image”, that way, when you make your terminal bigger, you’ll reveal more of the image rather than stretch it. Change your background image – NASA’s Picture of the Day is a great source! High res pictures are better.Under the Window tab, and under Settings for New Windows, change the size of any new windows you make.You can choose to edit both your default AND your HPC profile to look different. Step 5: Customize your terminal aesthetic Look at Navigation Shortcuts, and set a hotkey so that you can switch between split panes when you make them.Press ⌘, to open the preferences, and go to the Keys tab.Under Command, type ssh -Y Test it out! Press your Hotkey and make sure it all works.Under Shortcut Key, set a shortcut you’ll remember! Pressing this hotkey will open a new window or tab that automatically logs you into the HPC.Press ⌘O to open the profiles options and make a new profile by pressing +.Close all 3 panes (and second window) with ⌘W.Your window should look like this (without the cool background of course) Use ⌘D for vertical, and ⌘+Shift+D for vertical. Make a new window with ⌘N, and switch back to the first window with ⌘`.Open an iTerm2 window – make sure iTerm2 is in your Mac’s foreground (iTerm2 should be in bold on the top left of your screen) and hit ⌘N.Step 3: Learn some iTerm2 features and hotkeys Make sure to test that it worked by opening a new terminal window and logging onto HPC.#you will have to put in your password twice, after that, you shouldn't need to! Scp ~/.ssh/id_rsa.pub 'cat ~/.ssh/id_rsa.pub > ~/.ssh/authorized_keys' In your Mac machine: ssh-keygen -b 1024 -N "" #hit enter it will ask you to save it as id_rsa, hit yīash #make sure your commands run through the bash shellĮxport UCINETID="$yournetID" #fill in $yournetID with your netID same for next 2 lines Step 2: Set up Password-less log in on the HPC Click this link and follow the instructions:.Here, I’ll walk you through how to set a hotkey in iTerm2 in order to open a new window that automatically logs onto the HPC. If you find yourself using the terminal daily, it’s a good time to switch – even just the basic features iTerm2 offers makes the installation worth it. ITerm2 is a terminal editor that replaces OSX’s default terminal application.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |