Skip to content

Latest commit

 

History

History
70 lines (42 loc) · 1.3 KB

README.rst

File metadata and controls

70 lines (42 loc) · 1.3 KB

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"
}