Smart Unix navigation tools powered by Claude AI. Navigate your filesystem using natural language or shortcuts.
-
Natural Language Navigation: Use plain English to navigate
goto the infrastructure folderβ ASCIIDocs/infragoto that GAI project from Marchβ GAI-3101goto halcon projectβ LUXOR/PROJECTS/HALCON
-
Quick Shortcuts: Predefined aliases for common locations
goto luxorβ Documents/LUXORgoto docsβ ASCIIDocsgoto infraβ ASCIIDocs/infra
-
Direct Folder Access: Navigate to any subfolder by name
goto GAI-3101goto WA3590
-
Multi-Level Navigation: Navigate to nested folders using paths
goto GAI-3101/docsβ Navigate to nested subfoldergoto LUXOR/Git_Repos/unix-gotoβ Full path navigation- Works with any depth:
goto project/sub/deep
-
Smart Search: Automatically finds uniquely named folders
goto unix-gotoβ FindsLUXOR/Git_Repos/unix-gotoautomatically- Searches recursively (up to 3 levels deep)
- Shows disambiguation menu if multiple matches found
-
Navigation History: Automatic tracking and navigation history
backβ Go to previous directoryback 3β Go back 3 directoriesback --listβ Show navigation history
-
Recent Folders: View and navigate to recently visited locations
recentβ List 10 most recent foldersrecent --goto 3β Navigate to 3rd recent folder
-
Bookmarks: Save and manage favorite locations
bookmark add proj1β Bookmark current directorygoto @proj1β Navigate to bookmark using @ syntaxbookmark listβ Show all bookmarksbmβ Short alias for bookmark command
-
Discovery: List and explore available destinations
goto listβ Show all available destinationsgoto list --shortcutsβ Show only shortcutsgoto list --bookmarksβ Show only bookmarks
-
Special Commands:
goto ~β Return to home directorygoto zshrcβ Source and display .zshrc with syntax highlightinggoto --helpβ Show help menu
- Claude CLI - The official Claude CLI tool (Download)
- zsh or bash shell
- glow (optional) - For pretty .zshrc display:
brew install glow
# Clone the repository
git clone https://github.com/manutej/unix-goto.git
cd unix-goto
# Run the installation script
./install.sh
# Reload your shell configuration
source ~/.zshrc # or source ~/.bashrcgoto luxor # Go to Documents/LUXOR
goto infra # Go to ASCIIDocs/infra
goto GAI-3101 # Go to any project foldergoto GAI-3101/docs # Navigate to nested folder
goto LUXOR/Git_Repos/unix-goto # Full path navigation
goto PROJECTS/HALCON/config # Multiple levels deepgoto unix-goto # Finds LUXOR/Git_Repos/unix-goto automatically
# π Searching in subdirectories...
# β Found: /Users/.../Documents/LUXOR/Git_Repos/unix-goto
# If multiple matches exist:
goto docs
# β οΈ Multiple folders named 'docs' found:
# 1) /Users/.../ASCIIDocs/docs
# 2) /Users/.../LUXOR/project1/docs
# Please be more specific or use the full pathgoto "the halcon project"
goto "infrastructure folder"
goto "that GAI project from march"goto ~ # Return home
goto zshrc # Source and view .zshrc
goto --help # Show helpback # Go to previous directory
back 3 # Go back 3 directories
back --list # Show navigation history
back --clear # Clear navigation history
recent # Show 10 recent folders
recent 20 # Show 20 recent folders
recent --goto 3 # Navigate to 3rd recent folder
recent --clear # Clear recent historybookmark add work # Bookmark current directory as 'work'
bookmark add api ~/code/api # Bookmark specific path
bookmark list # Show all bookmarks
bookmark goto work # Navigate to bookmark
goto @work # Navigate using @ syntax (shortcut)
bookmark rm work # Remove bookmark
bm list # Short alias for bookmarkgoto list # Show all available destinations
goto list --shortcuts # Show only predefined shortcuts
goto list --folders # Show only folders in search paths
goto list --bookmarks # Show only bookmarksThe goto function searches in these locations by default:
$HOME/ASCIIDocs$HOME/Documents/LUXOR$HOME/Documents/LUXOR/PROJECTS
To customize search paths, edit lib/goto-function.sh and update the search_paths array:
local search_paths=(
"$HOME/your/custom/path"
"$HOME/another/path"
)- Direct Match: First tries exact folder name matching
- Shortcuts: Checks predefined shortcuts (luxor, docs, etc.)
- Natural Language: If input contains spaces, uses Claude AI to interpret and resolve
- Smart Fallback: Provides helpful error messages if nothing matches
unix-goto/
βββ bin/
β βββ goto-resolve # Claude AI resolver script
βββ lib/
β βββ goto-function.sh # Main goto shell function
βββ examples/
β βββ usage.md # Usage examples
βββ install.sh # Installation script
βββ README.md
- Navigation history with
backcommand - Recent folders with
recentcommand - Bookmark system with
bookmarkcommand - Discovery with
goto listcommand - Fuzzy matching for folder names
- Custom configuration file (~/.gotorc)
- Workspace management for multi-folder projects
- Natural language directory search with
finddir
See ROADMAP.md for detailed future plans.
Contributions welcome! This is a personal productivity tool that's evolving based on real-world usage.
MIT License - Feel free to use and modify for your own needs.
Manu Tej - Built with Claude AI for better terminal navigation
Generated with Claude Code π€