Skip to content

ekroon/try

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

try

A fast, interactive project selector for the command line. Quickly navigate between your projects with substring search and create new ones on the fly.

Inspired by tobi/try.

Installation

Option 1: Manual installation

  1. Build the binary:

    go build -o try main.go
  2. Add the shell integration to your .bashrc or .zshrc:

    # Add try to your PATH first
    export PATH="$PATH:/path/to/try"
    
    # Initialize the shell function
    eval "$(try init)"

Option 2: Using mise

Add to your .zshrc:

eval "$(mise x ubi:ekroon/try -- try init)"

Usage

try  # Launch the interactive project selector

Keyboard shortcuts:

  • Ctrl+K/Ctrl+J - Navigate up/down
  • Enter - Select project and cd into it
  • Ctrl+N - Create new project with current search term
  • Ctrl+Q - Quit
  • Type to search projects

Configuration

Set a custom projects directory:

export TRY_PROJECTS_DIR="/path/to/your/projects"

Default: ~/projects

Features

  • 🔍 Substring search through project directories
  • ⚡ Fast navigation with keyboard shortcuts
  • 📁 Create new projects with date prefixes (YYYY-MM-DD-name)
  • 🎨 Beautiful terminal interface
  • 🐚 Shell integration that actually changes your directory

TODO

  • Implement actual fuzzy search for better matching

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages