Skip to content

Commit

Permalink
fix(setup-age): source target to ensure path
Browse files Browse the repository at this point in the history
  • Loading branch information
entelecheia committed May 26, 2023
1 parent 17e3081 commit 297e562
Showing 1 changed file with 3 additions and 13 deletions.
16 changes: 3 additions & 13 deletions chezmoi/dot_local/bin/executable_dotfiles-setup-age.tmpl
Original file line number Diff line number Diff line change
@@ -1,17 +1,7 @@
#!/bin/bash
# {{ template "scripts-library" }}

ensure_path_entry "${HOME}/.local/bin"

GOROOT=${GOROOT:-"${HOME}/go"}
GOPATH=${GOPATH:-"${GOROOT}/packages"}

if [ -d "${GOROOT}/bin" ]; then
ensure_path_entry "${GOROOT}/bin"
fi
if [ -d "${GOPATH}/bin" ]; then
ensure_path_entry "${GOPATH}/bin"
fi
# {{- template "scripts-library" }}
# shellcheck source=/dev/null
source "${HOME}/.config/shrc/00-dotfiles-export"

SSH_HOME=${SSH_HOME:-"{{ .ssh.home }}"}

Expand Down

0 comments on commit 297e562

Please sign in to comment.