4/6/2023 0 Comments Hyperterm cygwinopen -a TextEdit ~/.minttyrcįire up that terminal one more time to see how it's looking. minttyrc file and replace its contents with these. set false to remove it wickedBorder: true, // change the colour here wickedBorderColor: '#ffc600',įinally, open up the. We can also change the border color by adding these lines right after line 52 or where is says borderColor: '#333',: // omit or set true to show. Find line 149 or where is says plugins: and type the following: plugins: , You might be asking: didn’t I just install the theme? what’s up with those squares? Well, we still need to add the hyperterm-cobalt2-theme into our plugins array in the ~/.hyper.js file. zshrc file's theme to ZSH_THEME="cobalt2" and refresh your terminal one more time ( % source ~/.zshrc). Head over to Wes Bos’ repo, copy the contents into your file and save. First, create the theme file in the following directory and then open it: % touch ~/.oh-my-zsh/themes/cobalt2.zsh-theme % open -a TextEdit ~/.oh-my-zsh/themes/cobalt2.zsh-theme Still want Cobalt2 huh? Well, let’s get down to it. If you are satisfied with what you see, great! Stop here and go enjoy your new terminal experience! Installing Cobalt2 Every time you run this command, or open up a new terminal, you will get a different theme! If you like what you see, notice the name of the theme that was loaded and replace it in your. Don’t like what you see? Run source ~/.zshrc and see what happens. Now open up your terminal again and you should see a different theme. In line number 12 you will see the the following text: ZSH_THEME="robbyrussell"Īnd save. In your terminal navigate to your home directory an open the. You can check out all the available themes here. Installing Themesīefore we install the Cobalt2 theme, let’s have some fun with the built in themes that Oh My Zsh installed. In case you want to hide these files again (recommended) simply press shift command . If you have installed Node, Visual Studio Code on your machine you might see some other hidden folders as well. You can check this by using your Finder window and pressing shift command . zshrc config file in your home directory. Well, this is definitly easy! Let’s pimp that terminal up!įirst of, lets add a fancy border around the entire terminal to make it look like the icon (because, why not?).Excellent! The installation script has also created the. This also lets you use vim in hyper, Lets install some plugins! In the hyper settings, find the env property, and add the following: // for environment variables env: , Well, there is one more thing you have to do. This is also an issue when trying to use vim in hyper on windows, or other programs/commands that requires to clear the output. What the actual f.? All of the output is scrambled when using clear! Try typing the following commands in hyper: > ls -la > clear hyper.js config: // the shell to run when spawning a new session // if left empty, your system's login shell will be used by default shell: 'C:\\Program Files (x86)\\Git \\usr\\bin\\bash.exe', (If you are not used to canceling tasks in the terminal by pressing ctrl c then, no worries!) Thanks to this post, you have to target the usr version of the bash.exe file. Now, try hitting ctrl c when hyper is selected. (Assuming the path is correct, if not you probably got a bunch of errors) It might also be located under “C:\Program Files\Git\git-bash.exe” ⚠️ Make sure that you have the correct path to the git bash executable. Let’s change that to // the shell to run when spawning a new session // if left empty, your system's login shell will be used by default shell: ' C:\\Program Files (x86)\\Git\\bin\\bash.exe', // for setting shell arguments // by default `` will be used shellArgs: , In here, you want to find this section: // the shell to run when spawning a new session // if left empty, your system's login shell will be used by default shell: '', // for setting shell arguments // by default `` will be used shellArgs: , Well, thats easy! Have hyper selected, and press the ctrl-key while pressing the comma-key ( ctrl ,) - and you are inside the. Configuring bash as default shellĪssuming you have git-bash installed, I’m guessing you want use it as your default shell. We got a glorified Command Promt with some slick lines and some padding.Īssuming you actually want to use the terminal, lets switch to a bash-shell to get some linux commands available. Command Prompt with some slick lines
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |