9 tips for Windows Terminal by Scott Hanselman

Hello, Habr! You may have heard that a new one is coming out very soon. Windows Terminal. We've already written about this. here. Our colleague Scott Hanselman has prepared some tips on how to work with the new terminal. Join now!

9 tips for Windows Terminal by Scott Hanselman

So you've downloaded Windows Terminal and... what now?

At first, you may not be thrilled. It's still a Terminal, and it won't lead you by the hand.

1) Familiarize yourself with user documentation Windows Bus Terminal

2) The settings are expressed in json format. You will do better if your JSON file editor is something like Visual Studio Code and will support JSON Schema as well as intellisense.

  • Check your default settings! For clarity, I present my profile.json (which is by no means ideal). I have set requestedTheme, alwaysShowTabs and defaultProfile.

3) Decide on keyboard shortcuts. Windows Terminal has wide range of customization options.

  • Any key you press can be remapped.

4) Does the design match your desires?

5) Want to take it to the next level? Explore background images.

  • You can set background images or even GIFs. More here.

6) Specify your startingDirectory.

  • If you are using WSL, you may sooner or later want your home directory to be in file system Linux.

7) You can still use Far, GitBash, Cygwin, or cmder if you like. Details in documentation.

8) Learn command line arguments Windows Terminal.

  • You may know that you can run Windows Terminal using "wt.exe," but now you can also use command-line arguments! Here are some examples:
    wt ; split-pane -p "Windows PowerShell" ; split-pane -H wsl.exe
    wt -d .
    wt -d c:github

    At this stage, you can go as far as you want. Make other icons, pin them to the taskbar, have fun. Also, check out subcommands like new-tab, split-pane, and focus-tab.

9) I wrote down video, demonstrating to a person accustomed to Mac and Linux, how to set up Windows Terminal in conjunction with WSL (Windows Subsystem for Linux), perhaps you will be interested in it.

Please share your tips, profiles and favorite terminal themes below!

Source: habr.com

Buy reliable hosting for sites with DDoS protection, VPS VDS servers 🔥 Buy reliable website hosting with DDoS protection, VPS VDS servers | ProHoster