Skip to content

ewoij/pswitch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

pswitch

Quickly switch projects in tmux. Projects are ordered by most-recently-used (MRU).

asciicast

Requirements

  • fzf
  • Python 3.10+
  • tmux
  • bash

Install

Symlink pswitch.py onto your PATH:

ln -s "$PWD/pswitch.py" /usr/local/bin/pswitch

Point pswitch at the directory that contains your projects:

pswitch config set --dir=~/Documents/projects

Add a binding to ~/.tmux.conf (binds C-b o):

bind o display-popup -E '<path>/pswitch/tmux.sh'

Configuration

  • Change the projects directory:
    pswitch config set --dir=~/Documents/work-projects
    pswitch config set --dir=~/Documents/personal-projects
  • Change how deep to scan for projects (default 1):
    pswitch config set --depth=2

About

Quickly switch projects in tmux — fzf picker, ordered by most-recently-used.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors