| Crates.io | seokmin_fenv |
| lib.rs | seokmin_fenv |
| version | 0.2.1 |
| created_at | 2025-04-29 07:53:43.129781+00 |
| updated_at | 2025-04-29 13:07:46.386057+00 |
| description | A direnv-like tool for Fish shell |
| homepage | |
| repository | https://github.com/SeokminHong/fenv |
| max_upload_size | |
| id | 1653262 |
| size | 14,799 |
brew tap seokminhong/brew
brew install fenv
# Or
brew install seokminhong/brew/fenv
cargo install seokmin_fenv
Add the script to your config.fish file
# ~/.config/fish/config.fish
fenv init | source
Write .envrc.fish file to your directory and declare fenv_load and fenv_unload functions
# ~/foo/bar/.envrc.fish
function fenv_load
set -gx my_var "Hello!"
end
function fenv_unload
set -e my_var
end
https://github.com/user-attachments/assets/2f0429b7-99b7-4566-81cd-20a582abefe5