Skip to content

takekazuomi/posh-cdbookmark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

posh-cdbookmark

Inspired by cd-bookmark of zsh plugin.

https://github.com/mollifier/cd-bookmark

How to install

You can install from PowerShell Gallery. posh-cdbookmark

Install-Module -Name posh-cdbookmark

create bookmark

$ Add-Cdbookmark -Name foo -Path .

cd bookmark directory

$ cdb foo

remove bookmark

$ Remove-CdBookmark foo

list bookmarks

$ Get-CdBookmark

Name                           Value
----                           -----
kyrtblog                       C:\home\takekazu\Dropbox\kyrt\site
tech.c                         C:\home\takekazu\Dropbox\project\tech.c
psdirenv                       C:\ws\posh\psdirenv
cdb                            C:\GitHub\takekazuomi\Cdbookmark

Additional Information

Bookmark is stored in $HOME/.cdbookmark.

$ cat C:\Users\takekazu\.cdbookmark
{
   "tech.c":  "C:\\home\\takekazu\\Dropbox\\project\\tech.c",
   "cdb":  "C:\\GitHub\\takekazuomi\\Cdbookmark",
   "kyrtblog":  "C:\\home\\takekazu\\Dropbox\\kyrt\\site"
}

About

powershell cd bookmark module

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published