Skip to content
displayfulPublic

About

tobi/try in pure fish

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

try.fish

Ephemeral workspace manager for Fish shell. Create dated experiment directories and navigate them with fuzzy search.

Inspired by tobi/try, reimplemented in pure Fish + fzf.

Install

With Fisher:

fisher install displayful/try.fish

Setup

Create the default directory:

mkdir -p ~/src/tries

Or customize the path in ~/.config/fish/config.fish:

set try_path ~/experiments
mkdir -p $try_path

Dependencies

  • fzf - brew install fzf

Usage

try                      # Interactive selector (fzf)
try <query>              # Selector with filter
try new <name>           # Create 2024-12-01-name
try clone <url> [name]   # Clone repo into dated dir
try worktree [name]      # Worktree from current repo
try . <name>             # Worktree from current dir
try ./path [name]        # Worktree from path
try help                 # Show help

Keyboard Shortcuts (in selector)

Key Action
Enter Select directory
Ctrl-D Delete directory
Ctrl-N Create new
Esc Cancel

Testing

fisher install jorgebucaran/fishtape
fishtape test/*.fish

AI Disclaimer: This project was primarily written by Claude (Anthropic) with human guidance and review. The code, tests, and documentation were AI-generated.

About

tobi/try in pure fish

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages