¿Qué es zoxide?
zoxide is a smarter cd command written in Rust by Ajeet D'Souza, inspired by z and autojump. It remembers which directories you use most frequently, so you can "jump" to them in just a few keystrokes. With over 28k GitHub stars, it has revolutionized directory navigation for command-line users worldwide.
⚡ Key Features of zoxide
🧠 Smart Learning
Learns your directory usage patterns and ranks them by frequency and recency. The more you visit a directory, the easier it becomes to access.
🔍 Fuzzy Matching
Jump to directories with partial matches. Type just a few characters and zoxide will find the right directory based on your history.
🐚 Universal Shell Support
Works with bash, zsh, fish, PowerShell, Nushell, Elvish, Tcsh, and Xonsh. Consistent experience across all major shells.
🔌 Rich Integrations
Native integration with fzf for interactive selection, plus plugins for Vim, Emacs, file managers, and tmux session managers.
📊 Data Import
Import existing data from autojump, z, z.lua, fasd, and other directory jumpers. No need to start from scratch.
⚙️ Highly Configurable
Customizable scoring algorithm, exclude patterns, aging settings, and command prefixes. Adapts to your workflow preferences.
🏆 Productivity Benefits
- Save Time: Jump to any directory in 2-3 keystrokes instead of typing full paths
- Reduce Errors: No more typos in long directory paths
- Learn Patterns: Automatically adapts to your most-used directories
- Cross-Session: Remembers directories across terminal sessions
- Interactive Mode: Use with fzf for visual directory selection
apt upgrade te mantiene siempre en la última versión.
📦 Instalación desde deb.griffo.io
Paso 1: Agregar repositorio
sudo install -d -m 0755 /etc/apt/keyrings
curl -fsSL https://deb.griffo.io/EA0F721D231FDD3A0A17B9AC7808B4DD62C41256.asc | sudo gpg --dearmor --yes -o /etc/apt/keyrings/deb.griffo.io.gpg
echo "deb [signed-by=/etc/apt/keyrings/deb.griffo.io.gpg] https://deb.griffo.io/apt $(lsb_release -sc 2>/dev/null) main" | sudo tee /etc/apt/sources.list.d/deb.griffo.io.list > /dev/null
sudo apt updateinstall -d -m 0755 /etc/apt/keyrings
curl -fsSL https://deb.griffo.io/EA0F721D231FDD3A0A17B9AC7808B4DD62C41256.asc | gpg --dearmor --yes -o /etc/apt/keyrings/deb.griffo.io.gpg
echo "deb [signed-by=/etc/apt/keyrings/deb.griffo.io.gpg] https://deb.griffo.io/apt $(lsb_release -sc 2>/dev/null) main" | tee /etc/apt/sources.list.d/deb.griffo.io.list > /dev/null
apt update🆓 Existe un espejo gratis para siempre. deb-free.griffo.io sirve paquetes gratis para siempre: sin cuenta, sin suscripción, como máximo 2 meses por detrás del upstream, correcciones de seguridad inmediatas. Ahora mismo incluye cliamp, Ghostty, lazydocker, Oh My Posh y Zed; zoxide no está entre ellas, así que hoy el repositorio de arriba es la única forma de instalarlo — pídelo y puede añadirse.
Paso 2: Instalar zoxide
# Install latest zoxide
sudo apt install zoxide
# Verificar instalación
zoxide --version# Install latest zoxide
apt install zoxide
# Verificar instalación
zoxide --versionStep 3: Set Up Shell Integration
# For bash users
echo 'eval "$(zoxide init bash)"' >> ~/.bashrc
# For zsh users
echo 'eval "$(zoxide init zsh)"' >> ~/.zshrc
# For fish users
echo 'zoxide init fish | source' >> ~/.config/fish/config.fish
# Reload shell
source ~/.bashrc # or ~/.zshrc🎯 Ejemplos de uso básico
Smart directory jumping:
# Jump to directory containing "projects"
z projects
# Jump to directory matching "my" and "app"
z my app
# Jump to subdirectory starting with "src"
z src/
# Go back to previous directory
z -
# Interactive selection with fzf
ziTraditional cd still works:
# Regular cd functionality
z ~/Documents
z ../
z /usr/local/bin
# Relative paths
z ./src/componentsAdvanced features:
# Query directories without jumping
zoxide query projects
# Add directory manually
zoxide add /path/to/directory
# Remove directory from database
zoxide remove /path/to/directory
# Import from other tools
zoxide import --from=autojump ~/.local/share/autojump/autojump.txt
zoxide import --from=z ~/.zCustomization:
# Use different command prefix (j instead of z)
eval "$(zoxide init bash --cmd j)"
# Replace cd command entirely
eval "$(zoxide init bash --cmd cd)"
# Echo directory before jumping
export _ZO_ECHO=1
# Exclude certain directories
export _ZO_EXCLUDE_DIRS="$HOME:$HOME/private/*"🚀 ¿Por qué elegir deb.griffo.io?
- Official Ubuntu: Available but often outdated versions
- Cargo Install: Requires Rust toolchain and compilation
- Install Script: Manual updates and no package management
- deb.griffo.io: Latest version with automatic updates
- ✅ Latest Algorithm: Get newest scoring and matching improvements
- ✅ No Rust Compilation: Pre-built binaries, no toolchain needed
- ✅ Automatic Updates: Packages updated within hours of upstream releases
- ✅ Complete Package: Includes shell integration and documentation
- ✅ Multi-Distribution: Works on Jammy and Noble
- ✅ Easy Maintenance: Standard apt commands for updates
📦 Repositorio de construcción de paquetes
Los paquetes de Ubuntu se construyen y mantienen automáticamente en este repositorio de GitHub:
- 📂 zoxide-debian - Latest release builds
🔗 Paquetes relacionados
También disponible desde deb.griffo.io:
- fzf Fuzzy Finder - Perfect companion for interactive zoxide selection
- eza - Modern ls replacement for better directory listing
- Yazi File Manager - Integrates with zoxide for smart navigation