From a2e81a1fceb9b750eb523cdd52a4717f568c66c7 Mon Sep 17 00:00:00 2001 From: Kwang Kim Date: Thu, 7 Aug 2014 12:08:10 -0400 Subject: [PATCH 1/2] Added pushd.md --- pages/osx/pushd.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 pages/osx/pushd.md diff --git a/pages/osx/pushd.md b/pages/osx/pushd.md new file mode 100644 index 000000000..a4de2779a --- /dev/null +++ b/pages/osx/pushd.md @@ -0,0 +1,15 @@ +# pushd + +> Place a directory on a stack so it can be accessed later + +- Switch to directory and push it on the stack + +`pushd < {{directory}}` + +- Switch first and second directories on the stack + +`pushd` + +- Rotate stack by making the 5th element the top of the stack + +`pushd +4` From 004807a10e293973a5533f55ad87d91e3c873001 Mon Sep 17 00:00:00 2001 From: Kwang Kim Date: Thu, 7 Aug 2014 13:38:25 -0400 Subject: [PATCH 2/2] Moved pushd.md to common folder --- pages/{osx => common}/pushd.md | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename pages/{osx => common}/pushd.md (100%) diff --git a/pages/osx/pushd.md b/pages/common/pushd.md similarity index 100% rename from pages/osx/pushd.md rename to pages/common/pushd.md