
Security News
OWASP 2025 Top 10 Adds Software Supply Chain Failures, Ranked Top Community Concern
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.
github.com/kulkarnikaustubh/fzf-dir-navigator
Advanced tools
This is a directory navigation tool for zsh. It uses fzf to provide an interactive TUI.
This plugin allows the user to switch to any directory from anywhere and to anywhere. It also maintains a history of recently visited directories. Additionally, you can use hotkeys to move back and forth between directories in the shell session.
Here is a demo:
fzffd (falls back to find, but fd highly recommended.)tree (falls back to ls) - this is for the preview of the directory in the fzf window.Specific to MacOS:
tac command which is not available on macOS by default. It can be installed using brew install coreutils./Users/<username/.Add the following to your ~/.zshrc.
antigen bundle KulkarniKaustubh/fzf-dir-navigator
Start a new terminal session or source ~/.zshrc
Clone this repository into $ZSH_CUSTOM/plugins (by default ~/.oh-my-zsh/custom/plugins)
git clone https://www.github.com/KulkarniKaustubh/fzf-dir-navigator ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/fzf-dir-navigator
Add the plugin to the list of plugins for Oh My Zsh to load (inside ~/.zshrc):
plugins=(
# other plugins...
fzf-dir-navigator
)
Start a new terminal session or source ~/.zshrc
Clone this repository somewhere on your machine. This guide will assume ~/.zsh/fzf-dir-navigator.
git clone https://www.github.com/KulkarniKaustubh/fzf-dir-navigator ~/.zsh/fzf-dir-navigator
Add the following to your .zshrc:
source ~/.zsh/fzf-dir-navigator/fzf-dir-navigator.zsh
Start a new terminal session or source ~/.zshrc
Below are the set of default keybindings and the actions they perform:
| Default Keybinding | Action |
|---|---|
| Ctrlf | When in the $HOME folder, it brings up the global search window on the terminal and the directory history. If you are inside a different folder, it searches folders inside the current folder. Upon pressing Ctrlf again, it brings back the global search window. |
| Ctrlv | Brings back the current directory search window on the terminal if you are searching globally. |
| Ctrlr | Resets the recent directory history and brings up the global search window on the terminal. |
| Alt← | Goes to the previous working directory. (similar to prevd in fish) |
| Alt→ | Goes to the next working directory. (similar to nextd in fish) |
There is a default config file where some values can be tweaked.
To make your own config file, please copy this file and rename it as fzf-dir-navigator-custom.conf. The plugin will automatically use this config file or fall back to the default config file.
cp /path/to/cloned/repo/fzf-dir-navigator.conf /path/to/cloned/repo/fzf-dir-navigator-custom.conf
| Option | Description | Default |
|---|---|---|
dir_histsize | Number of recent directories to store and display. | 10 |
history_file | File to store the history. | $HOME/.local/share/zsh/widgets/fzf-dir-navigator-history |
exclusions | The directories to exclude while using this widget. | ( ".git" "node_modules" ".venv" "__pycache__" ".vscode" ".cache" ) |
search_home | Keybinding used to search the $HOME directory. If you are changing the search_home keybinding, please be sure to add it to your .zshrc file as well. For example, if you are changing it to ctrl-p, add bindkey "^P" fzf-dir-navigator to your .zshrc after sourcing the plugin. Otherwise the keybinding to open the plugin on the terminal would still remain ctrl-f, and ctrl-p would work only after the plugin is open. | ctrl-f |
search_pwd | Keybinding used to search the $PWD directory. | ctrl-v |
reset_history | Keybinding used to reset the directory history. | ctrl-r |
Please feel free to open an issue for any bugs encountered or feature requests you may have.
FAQs
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.