# my-bash **Repository Path**: whilewell/my-bash ## Basic Information - **Project Name**: my-bash - **Description**: 汇总自己的配置和工具 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-12-31 - **Last Updated**: 2022-01-03 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # z.lua https://github.com/skywind3000/z.lua/ ## depend ```bash sudo apt-get install lua-filesystem ``` ## install bash config: ```bash eval "$(lua /path/to/z.lua --init bash)" alias zc='z -c' # 严格匹配当前路径的子路径 alias zz='z -i' # 使用交互式选择模式 alias zf='cd "$(z -l -s | fzf --reverse --height 35%)"' ``` ## 参考 https://zhuanlan.zhihu.com/p/87786997