📜  direnv - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:49:30.279000             🧑  作者: Mango

代码示例1
# Install
# Debian
apt-get install direnv

# Hooks
# Bash
echo 'eval "$(direnv hook bash)"' >> ~/.bashrc
# ZSH
echo 'eval "$(direnv hook zsh)"' >> ~/.zshrc