From 775a858aa6feba44fa3ca7c48637489ad7d74a6e Mon Sep 17 00:00:00 2001 From: Matt Date: Wed, 30 Dec 2015 16:30:37 -0500 Subject: [PATCH 1/2] add bashmarks.sh https://github.com/huyng/bashmarks --- pages/common/bashmarks.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 pages/common/bashmarks.md diff --git a/pages/common/bashmarks.md b/pages/common/bashmarks.md new file mode 100644 index 0000000000..cfa3cd7f43 --- /dev/null +++ b/pages/common/bashmarks.md @@ -0,0 +1,23 @@ +# bashmarks + +> Save and jump to commonly used directories using 1 character commands. + +- List available bookmarks + +`l` + +- Saves the current directory as "bookmark_name" + +`s {{bookmark_name}}` + +- Goes (cd) to the directory associated with "bookmark_name" + +`g {{bookmark_name}}` + +- Prints the directory associated with "bookmark_name" + +`p {{bookmark_name}}` + +- Deletes the bookmark + +`d {{bookmark_name}}` From 268a6fefd48f8e4ce641c7200847124b42a185f2 Mon Sep 17 00:00:00 2001 From: Matt McFarland Date: Wed, 30 Dec 2015 21:31:24 -0500 Subject: [PATCH 2/2] Update bashmarks.md --- pages/common/bashmarks.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pages/common/bashmarks.md b/pages/common/bashmarks.md index cfa3cd7f43..7ba7035d8b 100644 --- a/pages/common/bashmarks.md +++ b/pages/common/bashmarks.md @@ -6,18 +6,18 @@ `l` -- Saves the current directory as "bookmark_name" +- Save the current folder as "bookmark_name" `s {{bookmark_name}}` -- Goes (cd) to the directory associated with "bookmark_name" +- Go to a bookmarked folder `g {{bookmark_name}}` -- Prints the directory associated with "bookmark_name" +- Print a bookmarked folder's contents `p {{bookmark_name}}` -- Deletes the bookmark +- Delete a bookmark `d {{bookmark_name}}`