diff --git a/.bashrc.dotfiles b/.bashrc.dotfiles index 1c9f486..44d4d01 100644 --- a/.bashrc.dotfiles +++ b/.bashrc.dotfiles @@ -21,6 +21,12 @@ export PS1="[\[\e[32m\e[1m\]\u@\h\[\e[0m\]:\[\e[34m\e[1m\]\w\[\e[0m\]]\$ " export JULIA_PKG_DEVDIR=$HOME/dev export JULIA_PROJECT=@. +# Enable direnv +if command -v direnv &> /dev/null ; then + eval "$(direnv hook bash)" + # alias tmux='direnv exec / tmux' +fi + # Start tmux by default if command -v tmux &> /dev/null && [ -z "$TMUX" ]; then if tmux ls | grep "default: " > /dev/null; then