Skip to main content

Cuttlefish (2020)

Cuttlefish is a CLI utility to switch environments according to current working directory.

It’s heavily inspired by the amazing direnv, but not limited to environment variables and specifically targeting fish shell.

Features #

Configure any combination of the following in a simple YAML file:

  • ssh identities
  • paths (to append to $fish_user_paths, which then becomes a universal variable)
  • global (= universal) variables
  • git user email address

Whenever you visit a directory containing a .cuttlefish.yaml file, its configuration is applied to your environment.