Latest / CyberSecurity Summary / Windows Terminal Tips, Tricks, and Productivity Hacks: Optimize your command-line usage and development processes with pro-level techniques
Transcript
- 0:00Speaker 1: Okay, let's unpack this. Have you ever felt like your
- 0:03Speaker 1: command line experience on Windows was well, a little behind
- 0:07Speaker 1: the times, definitely like you were jumping through hoops just
- 0:10Speaker 1: to copy text or you know, manage multiple tasks.
- 0:13Speaker 2: Uh huh, the old ways were limiting.
- 0:16Speaker 1: Today we're delving deep into something that changes all of that,
- 0:20Speaker 1: the new Windows Terminal. Our mission for you, our listener,
- 0:24Speaker 1: is to unlock a supercharged command line experience, making you
- 0:28Speaker 1: a true power user.
- 0:30Speaker 2: Yeah.
- 0:30Speaker 1: We're drawing our insights from Wilfuqua's excellent book Windows Terminal Tips,
- 0:35Speaker 1: Tricks and Productivity Hacks, and we've distilled some powerful insights
- 0:38Speaker 1: that we think will genuinely transform your command line workflow.
- 0:42Speaker 2: What's truly fascinating here is how Microsoft has completely rethought
- 0:45Speaker 2: this integral tool from the ground up.
- 0:47Speaker 1: Right, it feels totally different.
- 0:49Speaker 2: For years, the Windows command line experience felt like it
- 0:51Speaker 2: lagged behind what was available on say Unix based system.
- 0:55Speaker 1: Yeah, malcos Linux they always seem to head exactly.
- 0:58Speaker 2: This exploration will not only reveal the incredible advancements, but
- 1:01Speaker 2: also show you how to tailor them precisely to your workflow.
- 1:05Speaker 2: It's about more than just a new window it's about efficiency, clarity,
- 1:09Speaker 2: and truly making your command line work for you.
- 1:12Speaker 1: So let's start at the beginning. Then, before Windows Terminal,
- 1:15Speaker 1: we had con host dot exe. Why did we even
- 1:17Speaker 1: need a new terminal? What was so I guess limiting
- 1:20Speaker 1: about the old way?
- 1:22Speaker 2: Well, the core issue with con host dot ex was
- 1:25Speaker 2: its primary mission backward compatibility.
- 1:28Speaker 1: Oh okay.
- 1:29Speaker 2: It was designed to run basically every old command line
- 1:32Speaker 2: application Windows had ever.
- 1:33Speaker 1: Seen, which sounds good in theory, right.
- 1:35Speaker 2: But it became a massive roadblock for innovation. Simple everyday
- 1:40Speaker 2: tasks that users expected, like easily selecting and copying text
- 1:44Speaker 2: were surprisingly difficult.
- 1:45Speaker 1: Oh I remember that pain multiple clicks exactly.
- 1:48Speaker 2: It felt clunky, and that commitment to never breaking older
- 1:51Speaker 2: apps meant the user experience was kind of stuck in
- 1:54Speaker 2: the past compared to modern terminals on mac os or Linux.
- 1:57Speaker 2: And this is where a key distinction clarifies everything. Understanding
- 2:00Speaker 2: the difference between a terminal and a shell.
- 2:02Speaker 1: Okay, yeah, break that down.
- 2:03Speaker 2: A terminal like Windows terminal is what you see. It's
- 2:06Speaker 2: the display engine responsible for rendering text, drawing the interface,
- 2:10Speaker 2: accepting your keyboard.
- 2:11Speaker 1: And mouse input, got it the window itself pretty much.
- 2:15Speaker 2: It then passes that input to the shell. The shell,
- 2:18Speaker 2: on the other hand, is the actual command line program
- 2:21Speaker 2: like PowerShell, CMD or Bash that interprets and executes your commands.
- 2:26Speaker 1: So PowerShell isn't the terminal, correct.
- 2:29Speaker 2: Windows Terminal is a brand new, modern terminal that hosts
- 2:32Speaker 2: all your existing shells. So all your PowerShell knowledge, your
- 2:35Speaker 2: get knowledge still completely valid and now honestly much more
- 2:39Speaker 2: powerful within this new host.
- 2:41Speaker 1: That distinction makes perfect sense. So con host was trapped
- 2:45Speaker 1: by its past, sacrificing user experience for backward compatibility. But
- 2:50Speaker 1: when Microsoft finally decided to build a new what was
- 2:53Speaker 1: the absolute first thing they prioritize in terms of user experience?
- 2:56Speaker 1: What makes this new Windows terminal so much better? Right
- 2:58Speaker 1: out of the box.
- 2:59Speaker 2: They really prioritized a modern, fast, and flexible foundation. It's
- 3:03Speaker 2: built on modern Windows technologies, things like UWP, EXML islands.
- 3:08Speaker 1: Okay, techy stuff.
- 3:09Speaker 2: Yeah, but what it means for you is it leverages
- 3:11Speaker 2: your system's full power, including GPU acceleration.
- 3:14Speaker 1: AH, using the graphics card.
- 3:15Speaker 2: Exactly for rendering text and effects. It results in a
- 3:19Speaker 2: remarkably smooth, fast, and visually rich experience that was simply
- 3:23Speaker 2: impossible with the old command prompts. But the immediate aha
- 3:28Speaker 2: moment for many users I think comes from its organizational power.
- 3:31Speaker 2: How so it brings built in tab support. Finally, Yes,
- 3:35Speaker 2: you can finally manage multiple shells PowerShell, WSL, CMDSS, eighth
- 3:40Speaker 2: sessions all within a single window. No more dozens of
- 3:42Speaker 2: separate windows clutter in your taskbar.
- 3:44Speaker 1: Oh that alone is worth the price of admission, which is.
- 3:47Speaker 2: Freehu Exactly, a quick trol plus shift plus T opens
- 3:51Speaker 2: a new tab, trol plus shift plus W closes one simple.
- 3:54Speaker 1: The tab support is a huge game changer for reducing clutter.
- 3:58Speaker 1: I can't tell you how many times I've hunted for
- 4:00Speaker 1: a specific command window. But you mentioned something even more powerful, pains.
- 4:04Speaker 2: Exactly beyond tabs, you also get terminal pains.
- 4:07Speaker 1: Okay, what does that mean?
- 4:08Speaker 2: Imagine a single tab becoming your entile development cockpit. You
- 4:13Speaker 2: could be running a live build process in one pain,
- 4:15Speaker 2: debugging in another, and maybe interacting with get in a third,
- 4:19Speaker 2: all visible at once, all simultaneously visible and interactive. It's
- 4:22Speaker 2: about eliminating that constant context switching, you know, freeing up
- 4:26Speaker 2: mental band with creating a truly focused workspace. How do
- 4:29Speaker 2: you make those pains Duplicating your current shell into a
- 4:32Speaker 2: new pain is as simple as alt plus shift plus D.
- 4:36Speaker 2: And you could split horizontally or vertically too.
- 4:39Speaker 1: Oh nice.
- 4:39Speaker 2: Yeah, the shortcuts are alt plus shift plus minus for horizontal,
- 4:43Speaker 2: alt plus shift plus equals for vertical. We can put
- 4:45Speaker 2: those exact commands in the show notes.
- 4:47Speaker 1: Good idea, Okay, tabs pains what else? Visually?
- 4:51Speaker 2: Visually, there's also a significant upgrade. It introduced Cascadia code
- 4:54Speaker 2: the font YEP, a programming font designed specifically for this.
- 4:58Speaker 2: It supports optional programming, so characters like render as a
- 5:02Speaker 2: cleaner single E glyph.
- 5:05Speaker 1: Oh that's pretty neat makes code look cleaner.
- 5:07Speaker 2: It does. And it supports power line glyphs, which are
- 5:11Speaker 2: special characters that enhance the visual style of custom command
- 5:14Speaker 2: line comps.
- 5:16Speaker 1: Like those fancy status bars I see people have.
- 5:18Speaker 2: Exactly turning a drab text line into an informative and
- 5:22Speaker 2: frankly esthetically pleasing status bar with things like get status
- 5:26Speaker 2: current directory stuff like that.
- 5:28Speaker 1: Okay, I'm sold on the features, But what about control customization? Ah?
- 5:34Speaker 2: For those who love control, The customization is incredibly flexible,
- 5:38Speaker 2: uses the settings dot json file.
- 5:40Speaker 1: Jason, Okay, yeah.
- 5:41Speaker 2: With a documented structure This isn't just some random text file.
- 5:44Speaker 2: It means editors like visual Studio Code give you first
- 5:47Speaker 2: class editing with autocomplete and documentation built right in.
- 5:51Speaker 1: That makes editing way easier than guessing totally.
- 5:54Speaker 2: And the key insight here is that your configurations are
- 5:56Speaker 2: easily version controlled. Put it in get and share across
- 6:00Speaker 2: different machines, so you get a truly consistent personal environment everywhere.
- 6:04Speaker 1: And it's open source, right and critically, yes.
- 6:06Speaker 2: It's completely open source. You can see all the development
- 6:08Speaker 2: happening on Microsoft's GitHub repository.
- 6:10Speaker 1: So you can see where it's going, maybe even contribute.
- 6:13Speaker 2: Absolutely, the team is incredibly active encouraging community contributions and
- 6:18Speaker 2: maintaining transparent development, which fuels rapid innovation. It's a really
- 6:23Speaker 2: vibrant project.
- 6:24Speaker 1: That transparency and community involvement are huge. So with all
- 6:28Speaker 1: these fantastic capabilities, how do you actually get this powerhouse
- 6:32Speaker 1: up and running efficiently?
- 6:33Speaker 2: The easiest and most recommended way directly from the Microsoft Store.
- 6:37Speaker 2: Just search for it, YEP, search Windows terminal click get.
- 6:41Speaker 2: That's it. This also ensures that stays automatically.
- 6:43Speaker 1: Updated, which is nice, okay, easy enough.
- 6:45Speaker 2: Once installed, you launch it like any other app. From
- 6:48Speaker 2: the start menu, but for more efficiency, it ships with
- 6:50Speaker 2: the command WT dot.
- 6:52Speaker 1: Ex ah WT.
- 6:55Speaker 2: Right, you can simply type wt in the run dialogue
- 6:57Speaker 2: or even the Windows Explorer address bar, hit enter and
- 7:00Speaker 2: boom it launches.
- 7:02Speaker 1: Andy.
- 7:02Speaker 2: You can even add command line flags like wtdshf to
- 7:05Speaker 2: launch directly into full screen mode.
- 7:07Speaker 1: Okay, full screen Terminal, I like it.
- 7:08Speaker 2: Yeah, lots of little tricks like that.
- 7:10Speaker 1: Here's where it gets really interesting for customizing your digital workspace.
- 7:13Speaker 1: I think, with all these powerful features, how do we
- 7:16Speaker 1: make Windows Terminal truly ours? It all starts with that
- 7:20Speaker 1: settings dot json file.
- 7:21Speaker 2: Right, Absolutely, that settings adjacent file is truly the cornerstone
- 7:26Speaker 2: of configurability.
- 7:27Speaker 1: Cornerstone Okay.
- 7:28Speaker 2: As we discussed, it offers incredible power for deep customization,
- 7:32Speaker 2: makes it easy to version control your settings with git
- 7:34Speaker 2: or something, and allows for seamless sharing.
- 7:37Speaker 1: How do you open it quickly?
- 7:38Speaker 2: You can quickly open it by pressing tree, troll plus
- 7:40Speaker 2: shift plus aid directly from within Windows Terminal.
- 7:45Speaker 1: Creed, roll plus shift plus comma, got it?
- 7:48Speaker 2: And Yeah. Using Visual Studio code for editing provides a
- 7:51Speaker 2: superior experience, whether it's built in autocomplete and documentation really
- 7:55Speaker 2: helps avoid typos. The file itself is logically structured, which
- 7:58Speaker 2: is helpful. You'll find global settings that apply to the
- 8:01Speaker 2: entire terminal overall behavior exactly. Then profile settings for individual shells,
- 8:06Speaker 2: so PowerShell can look different from your Wslobuntu shell for.
- 8:09Speaker 1: Instance, ah Per shell settings nice YEP.
- 8:13Speaker 2: Also color scheme settings for its appearance, and keyboard shortcut
- 8:16Speaker 2: settings for all your custom hot keys.
- 8:18Speaker 1: So for someone just diving into settings dot json, what
- 8:21Speaker 1: are some global settings that can immediately enhance their workflow?
- 8:26Speaker 1: Any quick wins?
- 8:27Speaker 2: Definitely a few make a big difference right away.
- 8:30Speaker 1: Copy on select, copy on select What's that?
- 8:33Speaker 2: When set to true, it automatically copies any text you
- 8:36Speaker 2: highlight with your mouse straight to the clipboard, no need
- 8:39Speaker 2: to write, click or press quockol plus.
- 8:42Speaker 1: C oh copy on select. Yes, I can't tell you
- 8:45Speaker 1: how many times I've fumbled with compleplus c in the
- 8:47Speaker 1: old con host only to find I'd selected the wrong
- 8:50Speaker 1: thing or missed it. It's a small thing, but yeah,
- 8:52Speaker 1: it's a huge quality of life upgrade. Seriously, it absolutely is.
- 8:56Speaker 2: Then there's start on user login din'd it start up YEP,
- 8:59Speaker 2: which can lunch the terminal automatically when you log into
- 9:02Speaker 2: Windows great if it's your daily driver.
- 9:04Speaker 1: Makes sense.
- 9:04Speaker 2: Default profile lets you choose which shell opens by default
- 9:07Speaker 2: when you hit the new tab button, or just launch
- 9:10Speaker 2: the terminal so.
- 9:10Speaker 1: I can make it powersholl Core instead of old cmd exactly.
- 9:14Speaker 2: You can also set tab visibility to hide the tab
- 9:16Speaker 2: strip if you only have one tab open. Gives you
- 9:19Speaker 2: a bit more screen real estate.
- 9:20Speaker 1: Oh I like that minimal.
- 9:22Speaker 2: And theme of course to switch between light dark, or
- 9:27Speaker 2: just follow your systems theme automatically.
- 9:29Speaker 1: Okay, those are great practical tweaks. Beyond behavior, how can
- 9:32Speaker 1: we make it visually stunning and you know, truly reflective
- 9:35Speaker 1: of our personal style?
- 9:37Speaker 2: Yeah, esthetics matter. That's where color schemes come in. Windows
- 9:40Speaker 2: Terminal includes popular built in schemes like Solarized and Tango.
- 9:44Speaker 2: Pretty good starting.
- 9:45Speaker 1: Points, so you can add more.
- 9:47Speaker 2: Oh yeah, the community has created a wealth of options.
- 9:50Speaker 2: You can explore websites like Windows Terminal Themes dot dev.
- 9:53Speaker 2: Just copy paste the.
- 9:54Speaker 1: Jason ah easy to find new ones.
- 9:56Speaker 2: Or for full control, you can define your own color
- 9:59Speaker 2: schemes right in the JSON, mapping standard A and SI
- 10:02Speaker 2: color names like bright black or cyan to specific rgb
- 10:07Speaker 2: X values.
- 10:08Speaker 1: Total control. Nice.
- 10:09Speaker 2: You can also personalize it deeply with background images. Put
- 10:12Speaker 2: your logo, your cat, whatever you want behind the.
- 10:14Speaker 1: Text background images in a terminal okay.
- 10:17Speaker 2: And adjust the translucency of the window using usacrylic and
- 10:20Speaker 2: acrylic capacity. Is it that slightly see through modern.
- 10:24Speaker 1: Look acrylic like the Windows fluent design thing?
- 10:27Speaker 2: Exactly? Yeah, and a neat visual trick here. Once a
- 10:30Speaker 2: crylic is enabled, you can temporarily adjust the translucency on
- 10:33Speaker 2: the fly. Hold crill it plus alt plus shift and
- 10:37Speaker 2: scroll your mouse wheel.
- 10:38Speaker 1: Oh, temporary adjustment, that's cool, Yeah.
- 10:41Speaker 2: Just for that session. For more experimental visual effect, you
- 10:44Speaker 2: can even play around with pixel shaders, but that's getting
- 10:46Speaker 2: pretty advanced.
- 10:47Speaker 1: Okay, maybe I'll stick with background images for now. And
- 10:50Speaker 1: for the keyboard wizards among us, the folks who live
- 10:52Speaker 1: by shortcuts, what kind of raw power can we unlock
- 10:56Speaker 1: with custom shortcuts?
- 10:57Speaker 2: Right the action section in Settings dot Jason. This used
- 11:00Speaker 2: to be called key bindings, now it's actions. This is
- 11:02Speaker 2: where you define custom keyboard.
- 11:04Speaker 1: Shortcuts, so mapping keys to actions.
- 11:07Speaker 2: Pretty much, each shortcut maps a command which can be
- 11:10Speaker 2: a simple string for built in actions or a more
- 11:13Speaker 2: complex object for actions with parameters, to a keys property
- 11:16Speaker 2: so critical plus shift plus something does this action well.
- 11:19Speaker 1: Kind of actions all.
- 11:20Speaker 2: Sorts, closing tabs, splitting pains, changing font size. But one
- 11:25Speaker 2: of the most powerful is send input.
- 11:27Speaker 1: Send input like typing for me exactly.
- 11:29Speaker 2: This allows you to send arbitrary keyboard input directly to
- 11:33Speaker 2: the active terminal shell, essentially automating typing.
- 11:36Speaker 1: Give me an example. How's that useful?
- 11:38Speaker 2: Okay, say you constantly navigate to your main project's directory.
- 11:42Speaker 2: You could bind maybe c trel plus al plus P
- 11:46Speaker 2: to instantly type CD projects followed by an enter key.
- 11:49Speaker 1: Whoa so one key combo jumps me to my fold well.
- 11:53Speaker 2: Warp speed directory navigation. It's about automating those repetitive finger movements.
- 11:58Speaker 2: You can even send ANSI escape sequences for things like
- 12:01Speaker 2: arrow keys.
- 12:02Speaker 1: Okay, send input sounds incredibly powerful for automation.
- 12:05Speaker 2: What else, There's the WT eight action. This is fantastic
- 12:07Speaker 2: for launching pre configured tab and pain.
- 12:09Speaker 1: Layouts, wait launching layouts of the shortcut.
- 12:12Speaker 2: Yeah. Imagine launching an entire project workspace, maybe your code
- 12:15Speaker 2: editor like vim in one pain, a live build process
- 12:18Speaker 2: like dot netwatch run, and another, all with a single
- 12:20Speaker 2: custom command you've defined in your setting start Jason.
- 12:23Speaker 1: That's huge. One shortcut sets up my whole dev environment
- 12:26Speaker 1: in terminal exactly.
- 12:28Speaker 2: And this wtgidxc blindary we mentioned earlier. You can use
- 12:31Speaker 2: it from outside the terminal too, crease start menu shortcuts
- 12:34Speaker 2: or batch files that launch these highly customized complex layouts instantly.
- 12:39Speaker 2: We can put some example syntax in the show notes
- 12:40Speaker 2: because it gets a bit involved.
- 12:42Speaker 1: Please do that sounds amazing. So okay, we've seen how
- 12:45Speaker 1: to make Windows Terminal look and behave exactly how we want.
- 12:48Speaker 1: It's truly ours, right But for many of us, the
- 12:50Speaker 1: command line isn't just a Windows thing anymore. We live
- 12:53Speaker 1: in a multious world, rightly, What about those Linux command
- 12:57Speaker 1: line tools we love right here on Windows. Many people
- 13:00Speaker 1: have heard of WSL two, the Windows subsystem for Linux. Uh,
- 13:03Speaker 1: But for those of us integrating it into our daily
- 13:05Speaker 1: Windows flow, what truly makes WSL two such a significant evolution?
- 13:10Speaker 1: Why is it such a big deal?
- 13:12Speaker 2: WSL two is a genuine game changer, largely because it
- 13:16Speaker 2: finally provides a fast, fully compatible Linux environment directly.
- 13:20Speaker 1: On Windows, faster than WSL one, much.
- 13:22Speaker 2: Faster for filesystem operations, yeah yeah, and more compatible. It
- 13:26Speaker 2: solves so many dependency headaches, especially for developers using popular
- 13:29Speaker 2: web frameworks or tools designed for Linux.
- 13:31Speaker 1: How does it work? Is it like a VM sort of?
- 13:34Speaker 2: Unlike its predecessor, WSL two runs a real Linux kernel
- 13:38Speaker 2: on a lightweight hyper V virtualization.
- 13:40Speaker 1: Layer a real kernel, which.
- 13:42Speaker 2: Results in vastly improved performance and compatibility. It truly feels
- 13:46Speaker 2: like Rhyando Lenox natively just inside Windows. And what's truly revolutionary,
- 13:50Speaker 2: I think, is the seamless bidirectional access between Windows and Linux.
- 13:54Speaker 2: Bidirectional meaning you can easily access your Linux distributions files
- 13:57Speaker 2: from Windows. Just navigate to a UNC path like inf
- 14:00Speaker 2: open two in File Explorer. Your Linux home directory is right.
- 14:04Speaker 1: There, oh, directly in file Explore. No special tools, nope.
- 14:08Speaker 2: And conversely, your Windows drives like your c drive are
- 14:11Speaker 2: automatically mounted directly under m NTC within your Linux environment,
- 14:15Speaker 2: so you can c D m n TC users your name,
- 14:18Speaker 2: and access Windows files from your Linux shell.
- 14:20Speaker 1: Okay, that's seamless, files are easy. What about running things
- 14:23Speaker 1: even better?
- 14:24Speaker 2: You can run Linux programs directly from Windows PowerShell or
- 14:26Speaker 2: CMD using WSL dot ex Linux command like wsls ls
- 14:31Speaker 2: L runs the Linux ls command. Okay, and maybe even
- 14:34Speaker 2: more surprisingly you can run Windows programs from your Linux shell.
- 14:37Speaker 1: Wait, run dot ex files from Bash or z sh yep.
- 14:41Speaker 2: Imagine you're in your WSL terminal. You type notepad dot
- 14:45Speaker 2: exc my linux canfig dot txt, It opens that Linux
- 14:49Speaker 2: file and Windows notepad no way. Or type explorer dot
- 14:53Speaker 2: ex that's explore dot xe space dot and it launches
- 14:57Speaker 2: Windows file Explorer right in your current Linux directory.
- 15:00Speaker 1: Mind blown. That level of integration is incredible. Okay, but
- 15:05Speaker 1: it's not just about running Linux. It's about making those shells,
- 15:07Speaker 1: both Linux and powershells sing with customization and power tools exactly.
- 15:12Speaker 2: Let's start with PowerShell. For PowerShell users. Oh my posh
- 15:15Speaker 2: is a fantastic tool. You've probably seen screenshots.
- 15:17Speaker 1: Those really cool looking prompts.
- 15:19Speaker 2: That's the one. It transforms basic prompts into informative, stylish ones.
- 15:22Speaker 2: It can show critical details like your current Git branch status,
- 15:25Speaker 2: shortened paths so they don't wrap air indicators if the
- 15:28Speaker 2: last command failed. All enhanced by using a font like
- 15:31Speaker 2: Cascade codepl that has the necessary gliss.
- 15:34Speaker 1: So it makes your prompt work harder for you.
- 15:36Speaker 2: Basically, precisely, and beyond external tools like that, you can
- 15:39Speaker 2: actually define your own custom prompt functions right in your
- 15:42Speaker 2: PowerShell profile.
- 15:43Speaker 1: Script writing your own prompt.
- 15:45Speaker 2: Yeah. This lets you inject things like ANSI, escape sequences
- 15:49Speaker 2: for custom colors, or maybe even add emojis directly into
- 15:53Speaker 2: your prout for a unique Flare.
- 15:55Speaker 1: Rocket ship emoji when in my project's folder.
- 15:57Speaker 2: Why not if that works for you. Psrid line is
- 16:01Speaker 2: another essential PowerShell module. It's usually included now, but it
- 16:05Speaker 2: greatly enhances command line editing.
- 16:07Speaker 1: How does it enhance it?
- 16:09Speaker 2: Its history search is incredibly powerful. Just type part of
- 16:12Speaker 2: a command you ran before, say G, then press the
- 16:15Speaker 2: up arrow and it intelligently filters your command history. Makes
- 16:19Speaker 2: finding that get status command from yesterday way faster.
- 16:21Speaker 1: That's better than just scrolling up endlessly.
- 16:23Speaker 2: Way better. Oh. It also offers command predictions, which appear
- 16:27Speaker 2: as feint tech suggestions in your prompt. Guessing what you
- 16:29Speaker 2: might type next base on your history. Just hit the
- 16:31Speaker 2: right arrow to accept really speeds up your input.
- 16:34Speaker 1: Predictive text for the command line.
- 16:36Speaker 2: Kind of yeah. And for those who love the classic
- 16:39Speaker 2: Unix tools, you can bring genu cordals like ales grabs,
- 16:42Speaker 2: food oc to PowerShell. They often get installed as part
- 16:45Speaker 2: of GIT for Windows.
- 16:46Speaker 1: So I can use l's in PowerShell.
- 16:48Speaker 2: You can't. There's also the z utility, which is amazing.
- 16:51Speaker 2: It provides warp speed directory navigation met It learns which
- 16:54Speaker 2: directories you a visit frequently or a freesency frequency plus recency.
- 16:58Speaker 2: Then you can just type Z and it might jump
- 17:01Speaker 2: you straight to see users, your documents, projects if that's
- 17:04Speaker 2: where you go. Often jump to common directories with just
- 17:07Speaker 2: a few key strokes.
- 17:08Speaker 1: Okay, z sounds essential. Now moving over to WSL two.
- 17:11Speaker 1: Maybe using zsh instead of Bash.
- 17:13Speaker 2: Yeah. Zsh is a fantastic, highly configurable alternative to Bash.
- 17:18Speaker 2: It's actually the default shell on macOS now and oh
- 17:22Speaker 2: my zish builds on this with a massive community ecosystem
- 17:25Speaker 2: of themes and plugins.
- 17:27Speaker 1: Z plus oh my zish is the combo.
- 17:29Speaker 2: It's a very popular and powerful combo. Yeah for rerunning commands,
- 17:33Speaker 2: and zsh HL plus r provides an interactive history search
- 17:36Speaker 2: that's incredibly efficient, similar to PS redlines. Zsh also offers
- 17:41Speaker 2: powerful history substitutions, which are brilliant shortcuts. Look what things
- 17:44Speaker 2: like zeer, which treat is the last argument of the
- 17:46Speaker 2: previous command repeats your entire previous command.
- 17:49Speaker 1: Ah, I've heard of that useful.
- 17:51Speaker 2: For incredibly useful. When you forget to type pseudo first
- 17:55Speaker 2: run a command, it fails with permission denied. You just
- 17:57Speaker 2: type pseudo and hit enter. Done.
- 18:00Speaker 1: Okay, Pseudo is going in my muscle memory.
- 18:02Speaker 2: It's a life saver. Yeah. You can also set up
- 18:04Speaker 2: custom aliases and functions in zsh, just like in PowerShell,
- 18:07Speaker 2: to automate repetitive.
- 18:09Speaker 1: Tasks like shortcuts for long commands.
- 18:11Speaker 2: Exactly or recreating powershells I alias invoke item to open
- 18:16Speaker 2: files with their default Windows application using PowerShell dot ex,
- 18:21Speaker 2: or to find a complex work function that maybe changes directory,
- 18:25Speaker 2: opens vs code and fetches GIT updates, all with a
- 18:27Speaker 2: single work command.
- 18:28Speaker 1: Automating workflows nice for.
- 18:30Speaker 2: Quick directory navigation, and z auto seeds is an option
- 18:33Speaker 2: where you can just type the directory name to CD
- 18:35Speaker 2: into it if it exists. Using hyphen instantly toggles you
- 18:38Speaker 2: between your last two directories.
- 18:39Speaker 1: Oh jump back and forth, handy.
- 18:42Speaker 2: Very and finally oh my. Switech plugins add even more power.
- 18:45Speaker 2: There's zz plug in, bringing that freqency based directory jumping
- 18:48Speaker 2: we talked about to.
- 18:49Speaker 1: Z okay z everywhere.
- 18:51Speaker 2: There's zush Auto Suggestions, which gives you those faint text
- 18:54Speaker 2: suggestions as you type, like PS redline and syntax highlighting
- 18:59Speaker 2: gives you vision feedback coloring commands green if they look valid,
- 19:03Speaker 2: red if not before you hit enter.
- 19:05Speaker 1: Wow, that prevents typos too, exactly.
- 19:07Speaker 2: These collectively make your Linux terminal experience within Windows Terminal
- 19:11Speaker 2: much smarter and faster.
- 19:13Speaker 1: Now, let's talk about taking all this customizability and power
- 19:16Speaker 1: and integrating it with the tools developers use every single day. Get, GitHub,
- 19:21Speaker 1: remote systems, even the cloud, all from Windows Terminal. This
- 19:24Speaker 1: feels like where you become a true command line powerhouse.
- 19:27Speaker 2: Absolutely, this is where it all comes together for Get
- 19:30Speaker 2: and GitHub. A modern setup often involves using SSH authentication.
- 19:34Speaker 1: Instead of HTTPS passwords or tokens.
- 19:37Speaker 2: Yeah, because sshkeys provide a more streamlined workflow that's consistent
- 19:40Speaker 2: across Windows, WSL two and even macOS. If you use
- 19:44Speaker 2: that too, no more password prompts.
- 19:46Speaker 1: Okay, how do you set that up on Windows?
- 19:48Speaker 2: It means installing the built in open ssh client on
- 19:51Speaker 2: Windows ten eleven. It's usually there or easy to add
- 19:54Speaker 2: via optional features. Then you can figure the slish agent
- 19:57Speaker 2: service to run automatically. The agent handles the keys, hold
- 20:00Speaker 2: your decrypted private key in memory securely, so you don't
- 20:03Speaker 2: have to re enter your passphrase constantly. You'll generate modern
- 20:06Speaker 2: public private key pairs EED two five nine time is recommended.
- 20:10Speaker 1: Now share the public key, keep the private key secret.
- 20:12Speaker 2: Exactly, upload the public key to services like get up,
- 20:15Speaker 2: get lab, et cetera. Keep the private key safe. Test
- 20:18Speaker 2: with keysst get at getub dot com. Forget on Linux
- 20:24Speaker 2: WSL two, managing SSH keys gets interesting. You have options
- 20:28Speaker 2: copy your Windows keys into WSL, or maybe share them
- 20:31Speaker 2: via a symbolic link from MNPC and set permissions correctly.
- 20:35Speaker 2: Then use a tool like keychain to manage your lucheche
- 20:37Speaker 2: agent sessions within WSL to itself a.
- 20:40Speaker 1: Bit fiddly, but doable for seamless SSH everywhere.
- 20:43Speaker 2: It is and some seemingly small Get usage tips can
- 20:46Speaker 2: actually dramatically reduce friction and cognitive load day to.
- 20:49Speaker 1: Day, Like what Little Things Matter, Get check.
- 20:52Speaker 2: Out dash switches you to the previous branch.
- 20:54Speaker 1: You're on, oh instead of remembering the name exactly.
- 20:56Speaker 2: It's a mental release, keeps you in the flow. Get
- 20:58Speaker 2: config globalhelp dot Com. Autocorrect twenty tells get to wait
- 21:02Speaker 2: two seconds twenty tens of a second, and automatically fix
- 21:05Speaker 2: simple command typos like get stats because get status as.
- 21:09Speaker 1: Time correcting mistakes.
- 21:10Speaker 2: Love it and get push origin head lets you push
- 21:14Speaker 2: your current branch to its remote counterpart without typing the
- 21:17Speaker 2: branch name again.
- 21:18Speaker 1: Hand you when working on feature branches.
- 21:20Speaker 2: Together, these little things create a much more frictionless Git experience.
- 21:24Speaker 2: You can also define powerful get aliases in your dot
- 21:28Speaker 2: Git canfig like get s, for get.
- 21:30Speaker 1: Status, short and common commands, or.
- 21:32Speaker 2: Even create command aliases that run shell commands, like a
- 21:35Speaker 2: quick get checkpoint alias that stages all changes and commits
- 21:38Speaker 2: them with a generic message.
- 21:39Speaker 1: Quick save point yep, and don't forget.
- 21:42Speaker 2: Tools like tig. It's a fantastic text mode curses based
- 21:45Speaker 2: Git browser for inspecting commits, branches, blame statues right in
- 21:49Speaker 2: your terminal. Very powerful.
- 21:51Speaker 1: Okay, TIG, I'll check that out. What about interacting with
- 21:53Speaker 1: GitHub itself.
- 21:54Speaker 2: That's where the get hub cligh comes in.
- 21:57Speaker 1: Brilliant The disk command yeah, or g off log in.
- 22:00Speaker 2: You can do things like GA repo create, which creates
- 22:03Speaker 2: the repo locally and on GitHub dot com in one step.
- 22:05Speaker 1: Oh nice.
- 22:06Speaker 2: You can ghpr list to see poll requests, ghpr checkout
- 22:10Speaker 2: pr id to instantly check out the code for a
- 22:13Speaker 2: specific pull request. It really simplifies those common GitHub interactions.
- 22:18Speaker 2: Now connecting to remote systems beyond get hosts, maybe actual servers.
- 22:22Speaker 1: Yeah, ssshing into servers, you'll.
- 22:25Speaker 2: Typically choose between win RM, which is more common in
- 22:27Speaker 2: corporate Windows environments, or SSH, which is much more flexible
- 22:31Speaker 2: and works for both Windows servers and Linux servers.
- 22:34Speaker 1: Ssh seems more universal generally.
- 22:36Speaker 2: Yeah. To set up an SSH server on Windows itself,
- 22:39Speaker 2: you install it via optional features. You can even change
- 22:42Speaker 2: the default shell. Users get from CMD to PowerShell core
- 22:45Speaker 2: via a registry.
- 22:45Speaker 1: Key, so I can SSH into Windows and get.
- 22:48Speaker 2: PowerShell you can, and public key authentication is key here too,
- 22:51Speaker 2: using an authorized keys file, just like on Linux. For
- 22:54Speaker 2: secure passwordless access.
- 22:56Speaker 1: Okay, Standard SSH practice.
- 22:58Speaker 2: SEP Secure copy part call which comes with SSH is
- 23:02Speaker 2: your friend for copying files between your local machine and
- 23:04Speaker 2: remote servers or vice versa at cplocalfile dot txt, user
- 23:09Speaker 2: at server dot remote path CLASSICCP. And to make managing
- 23:13Speaker 2: lots of connections easier, use your touch canfig file.
- 23:16Speaker 1: The SSH canfig file.
- 23:17Speaker 2: Yeah, centralize all your connection details there. To find a
- 23:21Speaker 2: host nickname like host home, it's that the host name,
- 23:23Speaker 2: the user, maybe even a remote command to run automatically
- 23:26Speaker 2: on connection. Then you just type spoosh home.
- 23:29Speaker 1: Much easier than remembering ips and usernames.
- 23:31Speaker 2: Definitely. Finally, you can integrate these SSH connections directly into
- 23:35Speaker 2: Windows Terminal, add custom profiles to your settings dot Jason
- 23:38Speaker 2: file that just runs swish home or swoosh work server.
- 23:42Speaker 2: Then that connection is just a click away in the
- 23:43Speaker 2: new tab dropdown menu, or bind it to.
- 23:45Speaker 1: A shortcut seamless SSH access from the terminal menu. Love it, okay? Last,
- 23:50Speaker 1: Big Area cloud Management Azure AWSGCP. Can we manage those
- 23:55Speaker 1: from Windows Terminal too?
- 23:56Speaker 2: Absolutely, It's a huge use case for Microsoft Azure. The
- 23:58Speaker 2: integration is obviously fair tight. Azure cloud Shell often shows
- 24:02Speaker 2: up as an autocreative profile right and Windows Terminals.
- 24:04Speaker 1: Drop down cloudsll profile. What is that?
- 24:07Speaker 2: It connects you to a terminal environment, essentially a Linux
- 24:09Speaker 2: container running an Azure It comes preloaded with all the
- 24:12Speaker 2: Azure Cli tools as age, terraform, quebec, dole, lots of
- 24:16Speaker 2: def tools. Your files can persist in linked Azure storage, so.
- 24:20Speaker 1: Are ready to go Azure environments.
- 24:22Speaker 2: Exactly and inside that or even locally. If you install
- 24:25Speaker 2: the Azure Cli. The as interactive command is amazing. It
- 24:28Speaker 2: drops you to a special shell with smart autocompletion for
- 24:31Speaker 2: commands and parameters, inline documentation, and even.
- 24:34Speaker 1: Examples interactive mode for as.
- 24:37Speaker 2: Plus it helps you learn Jan's path. That's a powerful
- 24:40Speaker 2: query language for filtering and reshaping the Jason output you
- 24:43Speaker 2: get back from cloud APIs. As interactive lets you easily
- 24:46Speaker 2: test james path queries.
- 24:48Speaker 1: Filter that huge JSON blob down to what I need. Okay,
- 24:51Speaker 1: what about Google Cloud?
- 24:52Speaker 2: For Google Cloud, you'll typically use WSL two to run
- 24:55Speaker 2: the g Cloud STK. It works best in a Linux environment.
- 24:58Speaker 2: You run g Cloud in it.
- 24:59Speaker 1: To link your accounts standard setup.
- 25:01Speaker 2: Then you can use g cloud Beta cloudshell shosh authorized
- 25:04Speaker 2: session to launch a connection to your Google cloudshell VM
- 25:07Speaker 2: similar concept to azures and g Cloud Beta Interactive gives
- 25:11Speaker 2: you a similar interactive shell with autocompletion and docks for
- 25:16Speaker 2: g Cloud commands.
- 25:17Speaker 1: So interactive shells are common AWS.
- 25:19Speaker 2: For Amazon Web Services AWS, again, WSL two is often
- 25:23Speaker 2: your best bet. For the standard AWSCLI, there's a tool
- 25:27Speaker 2: called osshell ohshell Yeah. It's a Python based command line
- 25:30Speaker 2: shell specifically for AWS. It provides autocompletion, command history, and
- 25:35Speaker 2: also supports jme's path filtering via the core flag. It
- 25:38Speaker 2: even lets you run local Shell commands using dot cmd.
- 25:41Speaker 1: Nice any PowerShell options for AWS?
- 25:44Speaker 2: Yes, alternatively, there are the AWS tools for PowerShell. These
- 25:48Speaker 2: are native PowerShell modules that provide cmdal that's mapping directly
- 25:51Speaker 2: to the AWSAPI. So if you prefer a PowerShell centric
- 25:55Speaker 2: workflow from editing AWS, that's a great option too.
- 25:57Speaker 1: Okay, tons of power there for cloud management right from
- 26:00Speaker 1: the terminal. So what does this all mean for you,
- 26:01Speaker 1: our listener? From transforming a basic, clunky command prompt into
- 26:05Speaker 1: this multi tab, pain filled powerhouse.
- 26:08Speaker 2: Yeah, it's a huge leap.
- 26:09Speaker 1: To seamlessly running Linux apps side by side with Windows tools,
- 26:13Speaker 1: automating get workflows, managing complex cloud infrastructure. We've seen how
- 26:18Speaker 1: Windows Terminal isn't just a window anymore. It's really your
- 26:21Speaker 1: central hub for productivity. It's about being informed, being efficient,
- 26:26Speaker 1: and truly mastering your digital workspace, all from the command line.
- 26:31Speaker 2: And this raises an important question. I think, now that
- 26:33Speaker 2: you've seen the sheer breadth of what's possible that tabs,
- 26:36Speaker 2: the pains, the shells, the customization, the integrations, what other
- 26:40Speaker 2: tools or workflows could you imagine integrating into your customized
- 26:44Speaker 2: Windows Terminal experience? How could you make your daily work
- 26:47Speaker 2: even more fluid with.
- 26:49Speaker 1: This good question to ponder, Keep exploring, keep customizing, and
- 26:53Speaker 1: keep uncovering those deep insights. We hope this journey has
- 26:56Speaker 1: given you a solid headstart on becoming a Windows terminal pro.
- 27:00Speaker 1: Next time,