My Top Tips for using Windows Terminal like a Pro

Поделиться
HTML-код
  • Опубликовано: 9 янв 2022
  • So you've installed Windows Terminal? What are some small but quick tips and shortcuts that you can implement today to take it to the next level?
  • НаукаНаука

Комментарии • 126

  • @nilesh-gule
    @nilesh-gule 2 года назад +41

    As always a great set of tips for Windows Terminal. I learnt following new things
    1 - CTRL + Shift + mouse scroll to change the transparency
    2 - CTRL + L to clear the screen
    Thanks Scott for sharing these

    • @aaronmorgan4466
      @aaronmorgan4466 2 года назад +1

      Guess I wasn't pay close enough attention because I've learnt CTRL+L from you :) Maybe I was to engrossed setting my Close Tab action...

    • @Rhodair
      @Rhodair Год назад +1

      @@aaronmorgan4466 yeah, it got casually slid in there, so a blink and you miss it moment hehe 7:10
      just learnt it myself and will be nice having something faster than typing 'clear' each time

  • @StephenHelwigTalksTech
    @StephenHelwigTalksTech 2 года назад +1

    Very timely. Got a new Surface Laptop and was using your old articles and videos last night to setup oh-my-posh and the terminal. Lots of new nuggets in this vid.

  • @acidhauss7018
    @acidhauss7018 2 года назад +3

    I'm an SPFX developer and reaped massive amounts of benefit from WSL2 + Windows Terminal - took a while to setup but never looked back.
    Thanks for all the tips and tricks.

  • @bity-bite
    @bity-bite 2 года назад +1

    Yesterday I was browsing your channel for a video about the Windows Terminal! Thank you!

  • @phucnguyen0110
    @phucnguyen0110 2 года назад +1

    Love the Oh My Posh prompt, it's so lovely. I still need some time to follow the video though, but thank you Scott!

  • @patrickkhwela8824
    @patrickkhwela8824 2 года назад

    Very helpful tips, thanks Scott!

  • @boazgalil6425
    @boazgalil6425 2 года назад +1

    Scott - Thank you - tons of tips! I learned a lot!

  • @kenchang3456
    @kenchang3456 2 года назад

    Nice set of tips, thank you very much.

  • @LudoTechWorld
    @LudoTechWorld 2 года назад +2

    Nice tips! I'm really happy with Windows Terminal so far, I just wish we could set more than one font or fallback fonts (but I remember seing something about that on github so maybe it's something in developement), and a way to disable some dead keys (I'm using a European keyboard) but to my knowledge no terminal handle this correctly so maybe it's an impossible task. Thanks for the video!

  • @saschadeveloper
    @saschadeveloper 2 года назад

    Really like that tube monitor shader - Cool stuff :-)

  • @atikenny
    @atikenny 2 года назад

    Scott your are amazing, as always! You are the only reason why I would consider moving back to Windows!

  • @FullStackOnArchLinux
    @FullStackOnArchLinux 2 года назад +6

    Watching this on Arch Linux.

  • @amirmir3244
    @amirmir3244 2 года назад +3

    This will be my first ever live on Windows Terminal, looking forward to learning some tips and tricks

  • @FarzadSo
    @FarzadSo 2 года назад

    I was wondering whether you could make a video on how to backup and restore Windows Terminal settings to keep all devices in sync. I appreciate all the hard work.

  • @lucasgandara4175
    @lucasgandara4175 2 года назад

    Hey thanks for this video! greets from Colombia! Loved this video

  • @apdy27
    @apdy27 2 года назад

    Folder drop was something new! I was wondering if there is a way to open a new tab/pane with the current directory, so that it is not required to change to the particular location after creating a new tab/pane? Thank you for the high quality and knowledge full videos!

  • @mikey803
    @mikey803 2 года назад

    Thanks for the tips. I just started using this new Windows Terminal and am becoming a huge fan of it. I do have one question or tip. Is there a way to open a command or powershell in admin mode using the new windows terminal?

  • @freddysanchez2225
    @freddysanchez2225 2 года назад +1

    I love the possibility to split panes, is there a way to do a split pane but instead of opening a new pane of the same profile (e.g. powershell), make it that another profile is opened?
    Btw, I love your videos! I've learn so much from you.

  • @dprastha
    @dprastha 2 года назад

    very helpful as usual, thanks sir

  • @AdalbertoHernandezVega
    @AdalbertoHernandezVega 2 года назад

    Great tips. You mentioned in one of your Git videos about using VSCode instead oif Vi when Git shows you a txt file. i/e/ when typing the output of git log. Is that a setting in Windows Terminal or is it of git?

  • @kienphan6436
    @kienphan6436 2 года назад

    Thank you!

  • @CraigArtley
    @CraigArtley 2 года назад

    Thanks for pointing out the drag & drop of files from Explorer to open a new tab with the default profile in that directory. Is there a way to select another profile when doing that, or does it only work for the default? Also, drag & drop is not allowed for Administrator sessions-is that configurable?

  • @kevinalexis9886
    @kevinalexis9886 2 года назад

    Nice!

  • @coupmd
    @coupmd 2 года назад

    Great tips, thanks for the overview. I would love some ideas about getting in/out of administrator mode easier. Like for example, it would be super ideal to have a keybind that opened a split tab that was an administrator. Thanks for the video!

    • @shanselman
      @shanselman  2 года назад +4

      Ah look at “gsudo” and that will solve it for you

    • @fleshlord
      @fleshlord 2 года назад

      CTRL+Shift click on the taskbar icons gives you run as administrator but I dont think this is what you want

  • @Techiesse
    @Techiesse 2 года назад +12

    Two features that would be nice do have:
    1 - From Cmder -> The ability to save groups of terminals (they call tasks) and reopen them in the same positions, splits and paths. I can even run commands like activatiing my python virtualenvs. Super useful to have my development working tree, my test terminal, my scripts folder and my django application running in separate tabs/panes and I don't need to cd / activate / run everything from scratch.
    2 - From Terminator -> The ability to move the panes and rearrange the terminal splits.

    • @berkarslan
      @berkarslan 2 года назад

      Regarding your first point; I think you can achieve what you want by simply preparing a Shortcut that runs something like the following depending on your needs of course (you can also execute commands but didn't include it to keep it simple):
      wt ; new-tab -p "Command Prompt" -d C:\ ; split-pane -p "Ubuntu"

    • @Techiesse
      @Techiesse 2 года назад +1

      @@berkarslan Sure. It's a workaround. But having it managed by the terminal itself is very convenient.

  • @dtnguyen75
    @dtnguyen75 2 года назад

    Love the wall background? What wall paint color did you paint your room?

    • @shanselman
      @shanselman  2 года назад +1

      Deep Chocolate Brown, then I have a LED light from LIFX

  • @Gruggo
    @Gruggo 2 года назад

    Okay, as usually what a great video. I have to ask, what is that PowerShell Module (Assuming it's a PS Module) you have at 6:25?
    Showing the history of directory changes, that's awesome.

    • @shanselman
      @shanselman  2 года назад +1

      Yes details on my blog. It’s a history prediction provider. And my profile is in my gists.

  • @chyldstudios
    @chyldstudios 2 года назад +2

    As an Ubuntu user ... I find myself longing for some sweet pixel shader action!

  • @shubhamarora547
    @shubhamarora547 2 года назад +8

    Sir which tool u use to draw rectangle and draw arrows to highlight something and zoom any area of recording screen please sir tell me😊

  • @quantume7143
    @quantume7143 2 года назад

    Thank you! :)

  • @mattcargile
    @mattcargile 2 года назад

    More Hansel-inal?! I’m in!

  • @henrikhansson4295
    @henrikhansson4295 Год назад

    Nice tips, Is there any easy way to highlight/color text for network devices like Cisco/Juniper/Arista?
    I know Iterm2 and securecrt has it

  • @Alpha-lj6wc
    @Alpha-lj6wc 2 года назад +1

    Hello sir, Can you please make a video about GUI programming? Just the general idea would be good. I am a beginner at programming. The program we do at first is all about cli/consle program. How does the gui work?

  • @pilotboba
    @pilotboba 2 года назад

    @scott Might I suggest you change the bg color of your dotnet prompt segment to the official logo branding color of #512bd4 ? You used the same color as the node segment which causes them to run together. (I know you don't have the node segment in your theme.)
    Also, purple seems to be the color of dotnet, probably because it is the color of royalty. :)

  • @x3ICEx
    @x3ICEx 2 года назад +2

    blood 0:43 sugar in the prompt? ((( this is amazing

  • @robertfish
    @robertfish 2 года назад

    Very curious to know what your specs are for your machine?

  • @Alex-gj2uz
    @Alex-gj2uz 2 года назад +3

    If you are navigating inside windows explorer and write cmd in the path bar, it will start the terminal from there. If you have windows 11 and default you command line prompt to windows terminal it will show up then.
    @Edit, just found out windows 11 has the command prompt in the right click menu in explorer anyway. But this tip works on older windows versions as well.

    • @bertvv
      @bertvv Год назад

      What a cool tip! I found out this works as well for "bash" (in my case, this opens a Bash shell in WSL Ubuntu) and "pwsh" (for PowerShell)

  • @gower1973
    @gower1973 2 года назад

    When you where in the Json file, how did you add the colour picker instead of writing the hex value?

  • @karadenizfamily
    @karadenizfamily 2 года назад +2

    Thank you @Scott!! I may switch to this (from ConEmu) if I can find a way to have a transparent background like in default Windows terminal. Is there a way to have that, meaning no blur but true transparency?

  • @jaymuraleedharan
    @jaymuraleedharan 2 года назад +2

    Thanks Scott, you are a godsend! By the way, I felt you were squinting when looking at your monitors - maybe its too dark :-)

    • @shanselman
      @shanselman  2 года назад

      Lol no I need my reading glasses. Plus I have beady eyes. 😂

  • @banasthalividyapithevents
    @banasthalividyapithevents 2 года назад

    Hello sir , please make a video on how we can use external adapters on Kali Linux wsl in Windows?

  • @TheCreslin
    @TheCreslin 2 года назад

    Hey Scott (or anyone else that might know)... I love the Windows Terminal. I would like to take advantage of it for work but I am in an odd situation. Our machines are locked down. I have a local admin account but we are not allowed to log in (directly) with that account. We are only allowed to log in with our domain account and run applications (as needed) as an administrator. I can't seem to run specific tabs or Windows Terminal as an administrator. Am I just being ignorant and missing something obvious (wouldn't be unheard of)? Is this something that may be supported eventually?
    In either case, I do use Windows Terminal on my personal machine and appreciate your videos.

  • @NiamorH
    @NiamorH 2 года назад +1

    I use the Split Horizontal and Split Vertical all the time.
    I always reach for the command palette ctrl + shift + p and type 'split' though, because I can't remember the shortcuts for those and I don't want to use the mouse. Too lazy to setup new shortcuts.
    ohmyposh is nice but really slows down the reactiveness of the commands...

  • @CyberAutomate
    @CyberAutomate 2 года назад +1

    My 2022 New Year resolution is to level up my ZoomIt ninja skills to maybe half your level. 😀

  • @DeliberateGeek
    @DeliberateGeek Год назад +2

    Hey Scott! I ran across this again as I was searching for some info. It's not the first time I've seen it, but it's always worth a re-watch.
    I do have a question, though I'm not certain that it's an actual Windows Terminal Question. I was doing a bit of work with setting up some code signing and SSH keys using gpg4win in PowerShell. I needed to work with the KeyId for a particular key, so I assigned it to a PowerShell variable for reference during the session. NP there. The following day, I was going to work with a different key and when I started typing to assign the key ID to a variable (same name - $keyid), the terminal gave me a lovely Intellisense style suggestion to complete the assignment, complete with the ID of the key I was originally working with. I suppose this is really two questions...
    1. Is that a function of PowerShell or the WIndows Terminal?
    2. While I love this sort of Intellisense/Cache thing for most things, I'd like to be able to either clear it manually, or ideally, exclude a given command from it. Can you point me to a resource about how this works and how to control it?
    Cheers, and as always, thanks for your amazing content!

  • @PaulAndBrodie
    @PaulAndBrodie 2 года назад

    Which version of windows terminal do you recommend/use from the store? One may install 'Windows Terminal' - currently v 1.11.3471.0 or 'Windows Terminal preview' - currently Version 1.12.3472.0.

  • @Techiesse
    @Techiesse 2 года назад

    Nice Video.
    Why is your ZoomIt so smooth? When I use it I begin to see the pixels and text quality drops a lot.

    • @shanselman
      @shanselman  2 года назад

      Update to latest?

    • @Techiesse
      @Techiesse 2 года назад

      ​@@shanselman I downloaded it like 2 days ago after seeing your super long, lenghty, verbose, detailed video to setup the terminal :). But I'm on windows 10 (maybe the reason?) I'll teak with it a little more to see if I can figure it out.
      Thank you !

  • @Gett37
    @Gett37 7 месяцев назад

    yeah, following hyperlinks and enabling CRT simulation is absolutely pro

  • @samwise8731
    @samwise8731 2 года назад

    May I know the name of the software you used for recording in your videos? I notice you can draw arrows live to show us where we should look at. That's the feature I'm looking for.

  • @amoenus_dev
    @amoenus_dev 2 года назад

    Any tips on how to broadcast same command to multiple tabs/panes (e.g to apply same command to multiple ssh sessions)

  • @osmantas369
    @osmantas369 2 года назад +1

    Could you please share the annotations tool you are using for drawing rectangles and arrows?

    • @korianderify
      @korianderify 2 года назад

      Looks like he’s using zoomit for the zoom/drawing/arrows.

  • @drj-pp8hw
    @drj-pp8hw 2 года назад

    Awesome video. What software do you use for recording?

    • @shanselman
      @shanselman  2 года назад +1

      OBS!

    • @Iose88
      @Iose88 2 года назад

      ​@@shanselman Hello Scott, thanks for your content, it is fantastic. Which program do you use for zoom, draw rectangular box in the screen? ZoomIt?

  • @ericfalsken5188
    @ericfalsken5188 Год назад

    I'd LOOOOOOOOVE to be able to make ONE TAB an admin tab. Or a setting so that future console windows (like those opened by VS) can be added as tabs to an existing window.....

  • @maxmuster7003
    @maxmuster7003 2 месяца назад

    I have a question: Is it possible to change the character set of a specific size with a monochrome picture to display the picture inside of a block of character on the Windows terminal?

  • @ummnine6938
    @ummnine6938 2 года назад

    hey i have a question, this laptop/computer you are using, you have many linux distros installed in there, do they take ram or its just using disk space when you are not using them? And how much space does the ubuntu distro takes after install? Also how much Ram is in your system? thanks.

    • @shanselman
      @shanselman  2 года назад +2

      Just disk space. A few gigs and then they grow as I use them.

  • @codetonic_arush
    @codetonic_arush 2 года назад

    hey Scott, would you please tell me, how you switch your mouse pointer into a selector and shape maker...

    • @shanselman
      @shanselman  2 года назад

      Use ZoomIt from sysinternals

  • @juhak
    @juhak 2 года назад

    Is there a fix yet for slow responsiveness of ctrl+c when terminal is getting flooded with input?

  • @TornTech1
    @TornTech1 2 года назад

    Wow! Its going to take me a while to retrain my brain to do Ctrl + L instead of writing "CLS"!!

  • @ayush.kumar.13907
    @ayush.kumar.13907 2 года назад

    is this version only available in windows 11, cause i don't see these options in my terminal in windows 10 and my PC is not yet eligible for Windows 11 upgrade?

  • @stolensentience
    @stolensentience 2 года назад

    There’s a couple things keeping me from switching from conemu to this.
    Currently I am unable to open a new prompt in the same directory as the one I’m currently in. Is this possible?

  • @veepee78
    @veepee78 2 года назад

    Any tips how to open terminal or pane as admin if you are logged in as normal user? Run as admin asks adm creds two times and then says "cannot do".

  • @ArifulIslam-ef8rf
    @ArifulIslam-ef8rf 2 года назад

    Hey Scott, wsl2 in windows 11 terminal download very slow. Like when I try to download some packages it's very slow to compare Linux terminal.

  • @movie7815
    @movie7815 Год назад

    When I launch the windows terminal by the command "cmd", I dont get the "+" sign or the dropdown on the title bar as you have. Im on Windows 11

  • @codenameunknown3791
    @codenameunknown3791 2 года назад

    Scott i just wanna say: you are amazing. That's all. That's the comment.

  • @keithnicholas
    @keithnicholas 2 года назад +1

    the other cool tip is quake mode WIN+`

  • @honzajscz
    @honzajscz 2 года назад

    Scott, great content, how do I start terminal always as an administrator?

  • @frustyak
    @frustyak Год назад

    The ultimate retro effect would be a degauss button :-)

  • @fryt2744
    @fryt2744 9 месяцев назад

    How to use error highlighter in terminal and the ai autocompleter?

  • @JeffreyRutland
    @JeffreyRutland 2 года назад

    how do you get your command history popping up in terminal? was hoping you would explain that one!

    • @shanselman
      @shanselman  2 года назад +8

      How about a whole video on my custom powershell profile including that?

    • @JeffreyRutland
      @JeffreyRutland 2 года назад

      @@shanselman that would be amazing! I’ve taken plenty of pointers with oh my posh, thanks to you… but every time I see your prompt showing suggestions, I’m like ‘that!! what is that??’ 😉

  • @farzadmf
    @farzadmf 2 года назад

    This terminal has been getting better and better with lots of potential; too bad it's Windows only

  • @TheBenjimawoo
    @TheBenjimawoo 2 года назад

    Is there a real benefit to the terminal transparency? I can see obvious accessibility benefits to almost all of the display customisations, settings etc. that are available... except that one. Don't get me wrong - 'Because it looks cool and you can impress your friends' is a totally legit reason for it being there, but I was just curious.

    • @nicksilberstein7969
      @nicksilberstein7969 Год назад

      I think it's mostly just because it looks cool. One possible use; you could set the desktop background of servers to certain colors by function or role (for example, production web server is red background). Transparency of even a maximized terminal could help to remind you that you're working on a dev / stage / production server.

  • @MrMarcLaflamme
    @MrMarcLaflamme 2 года назад

    Why did you use double backslashes when specifying the path to the shader?

    • @shanselman
      @shanselman  2 года назад

      Because \ when inside a string mark the start of an escape sequence, so
      is a new line for example, but \\ is a single backslash

    • @MrMarcLaflamme
      @MrMarcLaflamme 2 года назад

      @@shanselman Ah okay I thought that might be the case but wasn't sure. Thanks Scott!

  • @geogreenmanu
    @geogreenmanu 2 года назад

    @scott When I open Vs developer tools as Admin, the old cmd promt comes up instead of windows terminal. Any solutions for this?

    • @shanselman
      @shanselman  2 года назад +1

      Take a look and see if a developer tools are in your terminal menu? Or try installing terminal preview. We should have a detector that that notices the developer tools and add some of the menu item in Terminal. And soon in 11 Terminal will be the default.

  • @rgsiiiya
    @rgsiiiya 2 года назад

    Interesting...When I do alt-Setting...the defaults file states on line 1:
    "// THIS IS AN AUTO-GENERATED FILE! Changes to this file will be ignored."

  • @amitnilajkar6272
    @amitnilajkar6272 2 года назад

    great knowledge!, hey scott are you looking to hire as i m looking for a job, been c# developer. i couldnt find better way to reach you than youtube directly, appologies just in case.

  • @themrhead
    @themrhead 2 года назад

    How OhMyPosh works on a lot of videos/demos, but whenever one tries to install and setup it`s all about bugs?

  • @kpsinghchouhan
    @kpsinghchouhan 2 года назад

    I tried "oh-my--posh" to change the terminal prompt. But the prompt became very slow (~ 20-60ms delay). I like the beautiful terminal prompt but cannot compromise on speed. And I have i7, 16 GB RAM and SSD.

    • @shanselman
      @shanselman  2 года назад

      Likely is the git segment.

    • @kpsinghchouhan
      @kpsinghchouhan 2 года назад

      @@shanselman Thank you for your response. I noticed that themes "Paradox" and some other themes were slower. I switched to default theme "jandedobbeleer" and it is much better.

  • @user-ld7tp9up1q
    @user-ld7tp9up1q 2 года назад

    can share the pwsh $profile file ?

  • @memoid7777
    @memoid7777 2 года назад +2

    Only thing I want is to be able to open tabs as admin without some hacky solution like gsudo

    • @babsNumber2
      @babsNumber2 2 года назад

      gsudo works well for me. How is it hacky?

    • @memoid7777
      @memoid7777 2 года назад

      @@babsNumber2 it works exactly right it's just hacky in that I have to add it myself in the first place.

    • @babsNumber2
      @babsNumber2 2 года назад

      @@memoid7777 Oh okay. I see

  • @nikkehtine
    @nikkehtine 2 года назад

    I wish PowerShell wasn't so slow

  • @madrum
    @madrum 2 года назад

    Does anyone else fail to get notifications when Scott posts a new video?
    I have subscribed to “all updates” but I do not get notified by RUclips and the videos do not show up in the notifications list (bell icon).
    I get notified for other channels, just not Scott’s.

    • @shanselman
      @shanselman  2 года назад

      Wow I’ve never heard that from anyone else.

    • @madrum
      @madrum 2 года назад

      @@shanselman it is strange. I disabled/ re-enabled channel notifications, which I’ve done before, but will cross my fingers it works this time.
      Thanks for the great content! My terminals is working very well for me.

  • @lawrencedoliveiro9104
    @lawrencedoliveiro9104 2 года назад +2

    Microsoft is embracing and extending Windows with Linux-like features ...

  • @NitishKumar-qk3fz
    @NitishKumar-qk3fz Год назад

    Oops I spotted Matrix path of neo

  • @gardnmi
    @gardnmi 2 года назад

    One day, windows will just be vscode.

  • @PhrontDoor
    @PhrontDoor Год назад

    They are still using JSONs for configuration instead of an actual configuration system? Kind of weak.
    I'll wait till they get an actual config system. That's so bodgy.

  • @pancakekiemtienonline6562
    @pancakekiemtienonline6562 2 года назад

    pov: you are noob