Path memory is a simple cli app that helps you navigate folder path faster. You can save any system path with a name, and can later access the absolute path with it's name.
- If you only want to use: For mac users, build is alredy present in build folder. You can simply set alias in bash.rc (or .zsh) as
alias path="/ansolute/path/pathmem/build/main"
. This lets you use path as a regular terminal command. - If you want to develop: Clone the repository. Build the project using
go build
and you are good to go.
Command | Shortcut | Description |
---|---|---|
save any_name | -s | Save/Update current folder path under alias any_name . |
open any_name | -o | Open the absolute path corresponding to any_name in new terminal window. (macos) |
copy any_name | -c | Copy current folder path under alias any_name to clipboard. (macos) |
paths | -p | Shows all saved file paths and their alias |
-- | -e | Subflag used with -o. To be used when a command needs to be executed after opening a path using -o |
E.g., path -o dir_name
opens the dir path saved under dir_name.
go 1.13