ubuntu install direnv

direnv - github

1. 安装 direnv

sudo apt update
sudo apt install -y  direnv

2. hook into shell

  • bash ~/.bashrc
eval "$(direnv hook bash)"
  • fish ~/.config/fish/config.fish
direnv hook fish | source

3. .envrc

#See https://github.com/direnv/direnv

PATH_add tools
上一篇:alias 下一篇:ubuntu install bup