Skip to content

Commit

Permalink
direnv
Browse files Browse the repository at this point in the history
  • Loading branch information
EnigmaCurry committed Nov 12, 2024
1 parent 9f1fdab commit 24a46fb
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
7 changes: 7 additions & 0 deletions config/bash/direnv.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# direnv sets contextual aliases per working directory.
# Each project root directory should contain a .envrc file
# You must allow each directory to be loaded, e.g.,
# direnv allow
if command -v direnv &>/dev/null ; then
eval "$(direnv hook bash)"
fi
1 change: 1 addition & 0 deletions config/toolbox/arch-dev.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ PACKAGES=(
noto-fonts-cjk
noto-fonts-emoji
noto-fonts-extra
direnv
)

source "$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/common.sh"
Expand Down
1 change: 1 addition & 0 deletions config/toolbox/fedora-dev.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ PACKAGES=(
poppler-glib-devel
zlib-devel
pkgconf
direnv
# texlive-collection-basic
# texlive-latex
# texlive-latex-bin
Expand Down

0 comments on commit 24a46fb

Please sign in to comment.