跳转位置-更改⽬录(CD)PowerShell命令,可让您读懂There's a lovely little utility called for *nix consoles that makes the 'cd' command very smart. More that just auto-completion, it's a kind of "auto guessing." Hence, autojump. There is some beginning Windows support, but instead I turned to Tim Kellogg's open source PowerShell implementation "."
* nix控制台有⼀个可爱的⼩实⽤程序,称为 ,使'cd'命令⾮常智能。 不仅仅是⾃动完成,更是⼀种“⾃动猜测”。 因此,⾃动跳转。Windows有⼀些开始的⽀持,但是我转⽽使⽤了Tim Kellogg的开源PowerShell实现“ 。
What a joy.powershell创建目录
太⾼兴了
First, I was like "jump-location?" I'm not going to type that. But then, of course, duh. Aliases.
⾸先,我就像“跳转位置?” 我不会打那个。 但是,当然,du。 别名。
Jump-Location is aliased to just j, which means I can now do awesome stuff like this:
Jump-Location仅别名为j ,这意味着我现在可以做这样的出⾊⼯作:
c:\> j sc
c:\users\scott> j g
c:\users\AppData\Local\GitHub> j des
c:\users\scott\Desktop>
But there's more. It's actually watching how long you are in a directory and keeping stats. You can see the weighted stats with "jumpstat" and the "database" is just a text file in ~\
但是还有更多。 它实际上是在监视您在⽬录中的时间并保留统计信息。 您可以使⽤“ jumpstat”看到加权统计信息,⽽“数据库”只是〜\ 中的⽂本⽂件。
If "j d" isn't enough to get me into C:\GitHub\DisProject then I can do "j g d" and I'm there. It's amazing.
如果“ jd”不⾜以使我进⼊C:\ GitHub \ DisProject,那么我可以执⾏“ jgd”,并且我在那。 太奇妙了。
Installation is easy, and I hope it gets on soon for even easier installation. Just unzip, unblock, ensure that your PowerShell execution policy allows scripts, and run ./install.ps1.
安装很容易,我希望它能尽快在上以使安装更加容易。 只需解压缩,取消阻⽌,确保您的PowerShell执⾏策略允许脚本并运
⾏./install.ps1。
NOTE: Don't run install from your desktop, or a temp folder. Put the Jump-Location folder somewhere where it will live, and it's going to add a line like this to your user profile
("C:\Users\YOU\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1")  like this, so you'll want to install from a final path:
注意:请勿从桌⾯或临时⽂件夹运⾏安装。 将Jump-Location⽂件夹放在将要保存的位置,然后将这样的⾏添加到⽤户配置⽂件中(“ C:\ Users \ YOU \ Documents \ WindowsPowerShell \ Microsoft.PowerShell_profile.ps1”),这样,您想要从最终路径安装:
Import-Module 'C:\Users\Scott\Dropbox\utils\Jump-Location-0.5.1\Jump.Location.psd1'

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。