Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Enable cd on exit by sourcing the main script #193

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Roy-Orbison
Copy link

This patch makes it so that Bash users need only run this to enable the change directory feature:

. fff

It still respects the environment, so this invocation won't cd:

FFF_CD_ON_EXIT=0 fff

The default behaviour is easily restored:

unset fff

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant