Skip to content

peakyDicers/forever-dir

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Forever Dir

Forever is a tool with two functions. One function saves your current directory to a tmp file. The other cds you into the directory stored in the tmp file.

Why?

This is nice when you want you've got multiple tmux panes, and want to quickly get one pane to the same dir as another.

Example:

cd foo/bar/koo/kar
fdir

# ctrl+b n (next tmux window)
gdir

Installation

bash

cat fdir.sh >> ~/.bashrc

zsh

cp fdir.sh $ZSH_CUSTOM/fdir.zsh

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages