From 5b3dd14b7c45e0123ab22f625bbe913eed142109 Mon Sep 17 00:00:00 2001 From: Rhea Singh Date: Thu, 24 Oct 2019 00:16:27 -0400 Subject: [PATCH] add command z --- reference/static/commands/tools/z.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 reference/static/commands/tools/z.md diff --git a/reference/static/commands/tools/z.md b/reference/static/commands/tools/z.md new file mode 100644 index 0000000..6b53ca3 --- /dev/null +++ b/reference/static/commands/tools/z.md @@ -0,0 +1,18 @@ +z +--- + +`z` is a jump-around command that learns and navigates to your most frequently and recently (termed 'frecent') used directories. You can add it to your shell by cloning https://github.com/rupa/z and following the instructions in the README. + +~~~ bash +$ z foo +~~~ + +--- + +### Useful Options / Examples + +You can cd to most frecent dir matching foo, then bar as follow. + +~~~ bash +$ z foo bar +~~~