Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Windows Terminal Tips, Tricks, and Productivity Hacks

You're reading from   Windows Terminal Tips, Tricks, and Productivity Hacks Optimize your command-line usage and development processes with pro-level techniques

Arrow left icon
Product type Paperback
Published in Apr 2021
Publisher Packt
ISBN-13 9781800207561
Length 254 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Will Fuqua Will Fuqua
Author Profile Icon Will Fuqua
Will Fuqua
Arrow right icon
View More author details
Toc

Table of Contents (20) Chapters Close

Preface 1. Section 1: Introducing the New Windows Terminal
2. Chapter 1: Getting started with the new Windows Terminal FREE CHAPTER 3. Chapter 2: Learning the Windows Terminal UI 4. Chapter 3: Configuring an Ubuntu Linux profile 5. Section 2: Configuring your Windows Terminal and its shells
6. Chapter 4: Customizing your Windows Terminal settings 7. Chapter 5: Changing your Windows Terminal appearance 8. Chapter 6: Setting up keyboard shortcuts 9. Chapter 7: Hidden Windows Terminal Actions 10. Chapter 8: Tips for using PowerShell like a Pro 11. Chapter 9: Tips for Using Ubuntu like an Expert 12. Section 3: Using your Windows Terminal for development
13. Chapter 10: Using Git and GitHub with Windows Terminal 14. Chapter 11: Building web applications with React 15. Chapter 12: Building REST APIs with C# and Windows Terminal 16. Chapter 13: Connecting to remote systems 17. Chapter 14: Managing systems in the cloud 18. Other Books You May Enjoy Appendix Windows Terminal Actions

Installing the z utility

The final tip we'll cover is the PowerShell z utility. This is a useful, third-party utility that remembers frequently accessed directories and provides a fast way to jump to them, using Mozilla's frecency algorithm. (Frecency is a mix of frequency and recency.) This is a useful command that essentially lets us jump directly to any previously visited directory without needing to navigate through any of the parent directories on the way to that directory.

For example, say we navigated to the ~/Desktop/MyProject directory. Sometime later, typing z MyProj and pressing Enter would automatically navigate back to the ~/Desktop/MyProject directory, because the text MyProj matches a portion of the directory name. If multiple directories are matched, we can press Tab to cycle through the matches.

Let's install it into PowerShell Core:

  1. Run the Install-Module z -AllowClobber command from PowerShell Core. The -AllowClobber flag allows it to...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at £16.99/month. Cancel anytime