28 lines
739 B
Plaintext
28 lines
739 B
Plaintext
===========================================================================
|
|
$NetBSD$
|
|
|
|
To begin using z.lua, put something like the following in
|
|
either ~/.profile or ~/.bashrc:
|
|
|
|
if [ -e ${PREFIX}/bin/z.lua ]; then
|
|
eval "$(lua ${PREFIX}/bin/z.lua --init posix)"
|
|
fi
|
|
|
|
Then, as z.lua learns your habits, you may use the following
|
|
command to quickly jump around your filesystem:
|
|
z SOME_DIRECTORY
|
|
|
|
z.lua also has explicit support for other shells, so
|
|
you may want to consider replacing the `--init posix'
|
|
above with:
|
|
|
|
z.lua --init bash
|
|
-or-
|
|
z.lua --init fish
|
|
-or-
|
|
z.lua --init zsh
|
|
|
|
See ${PREFIX}/share/doc/zlua/README.md for more details.
|
|
|
|
===========================================================================
|