about summary refs log tree commit diff stats
path: root/bash/z.bash
diff options
context:
space:
mode:
Diffstat (limited to 'bash/z.bash')
-rw-r--r--bash/z.bash9
1 files changed, 9 insertions, 0 deletions
diff --git a/bash/z.bash b/bash/z.bash new file mode 100644 index 0000000..d84fd55 --- /dev/null +++ b/bash/z.bash
@@ -0,0 +1,9 @@
1### z.lua integration
2# https://github.com/skywind3000/z.lua
3
4zlua="$HOME/misc/z.lua/z.lua"
5
6if [ -f "$zlua" ]; then
7 export _ZL_DATA="${XDG_DATA_HOME:-$LOCAL_PREFIX/share}/zlua"
8 eval "$(lua "$zlua" --init bash enhanced once)"
9fi