All Projects → skywind3000 → czmod

skywind3000 / czmod

Licence: MIT License
🚀 Native Module Written in C to Boost z.lua !!

Programming Languages

c
50402 projects - #5 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to czmod

Z.lua
⚡ A new cd command that helps you navigate faster by learning your habits.
Stars: ✭ 2,164 (+6082.86%)
Mutual labels:  zsh, cd, autojump, fasd, jump, z
Enhancd
🚀 A next-generation cd command with your interactive filter
Stars: ✭ 2,049 (+5754.29%)
Mutual labels:  zsh, cd, autojump, fasd, jump, z
Zoxide
A smarter cd command. Supports all major shells.
Stars: ✭ 4,422 (+12534.29%)
Mutual labels:  zsh, autojump, fasd, jump, z
Fz
Cli shell plugin, the missing fuzzy tab completion feature of z jump around command.
Stars: ✭ 359 (+925.71%)
Mutual labels:  zsh, cd
goto
Goto - The Good Way to Program
Stars: ✭ 14 (-60%)
Mutual labels:  zsh, cd
ranger-autojump
The combined magic of autojump, ranger and zsh
Stars: ✭ 59 (+68.57%)
Mutual labels:  zsh, autojump
Autoenv
Directory-based environments
Stars: ✭ 4,859 (+13782.86%)
Mutual labels:  zsh, cd
kn
Alternative to cd. Navigate by typing abbreviations of paths.
Stars: ✭ 68 (+94.29%)
Mutual labels:  cd, jump
z.vim
Help jumping to the most used directories in vim.
Stars: ✭ 19 (-45.71%)
Mutual labels:  jump, z
zsh-ls-colors
A zsh library to use LS_COLORS
Stars: ✭ 23 (-34.29%)
Mutual labels:  zsh
test-infra
Falco workflow & testing infrastructure
Stars: ✭ 18 (-48.57%)
Mutual labels:  cd
msfvenom-zsh-completion
zsh completion for msfvenom in Metasploit
Stars: ✭ 42 (+20%)
Mutual labels:  zsh
nvm-auto-use.zsh
ZSH plugin to call `nvm use` automatically whenever you enter a directory that contains an `.nvmrc` file with a string telling nvm which node to use
Stars: ✭ 16 (-54.29%)
Mutual labels:  zsh
dotfiles
🏡 dotfiles configuration
Stars: ✭ 18 (-48.57%)
Mutual labels:  zsh
zsh-config
Faster and enjoyable ZSH (maybe) !!!
Stars: ✭ 64 (+82.86%)
Mutual labels:  zsh
gitignore.plugin.zsh
ZSH plugin for creating .gitignore files.
Stars: ✭ 44 (+25.71%)
Mutual labels:  zsh
action-junit-report
Reports junit test results as GitHub Pull Request Check
Stars: ✭ 103 (+194.29%)
Mutual labels:  cd
gams.jl
A MathOptInterface Optimizer to solve JuMP models using GAMS
Stars: ✭ 27 (-22.86%)
Mutual labels:  jump
gitprompt
Display git status in the the terminal prompt
Stars: ✭ 22 (-37.14%)
Mutual labels:  zsh
setup-scheme
Github Actions CI / CD setup for Scheme
Stars: ✭ 13 (-62.86%)
Mutual labels:  cd

Preface

z.lua is fast enough for most cases, the path tracking action will be triggered each time when you change your current directory.

So I still recommend the pure lua script for portability and flexibility, but for someone who really cares about very high performance, this module can be helpful.

Features

  • Speeds up z.lua for history tracking and matching.
  • Easy to install.

Install

Install musl-gcc

sudo apt-get install musl-tools

Build the binary

git clone https://github.com/skywind3000/czmod.git ~/github/czmod
cd ~/github/czmod
sh build.sh

Enable Czmod

czmod must be initialized after z.lua:

bash:

eval "$(lua ~/github/z.lua/z.lua --init bash enhanced once echo)"
source ~/github/czmod/czmod.bash

zsh:

eval "$(lua ~/github/z.lua/z.lua --init zsh enhanced once echo)"
source ~/github/czmod/czmod.zsh

Benchmark

Average performance:

Name czmod z.lua
Update Time 1.6ms 13.2ms
Query Time 1.5ms 9.8ms

Credit

TODO

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].