Skip to content

Commit

Permalink
Replace $GETPATH with non-deprecated $GITGET_GETPATH
Browse files Browse the repository at this point in the history
  • Loading branch information
arbourd committed Apr 1, 2024
1 parent fda8a46 commit d4155ae
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Automated environment as code.
Usage: ./dot.sh [COMMAND]
Commands:
help prints this dialog
clone clones dotfiles to $GETPATH (~/src)
clone clones dotfiles to $GITGET_GETPATH (~/src)
link symlinks dotfiles
install installs all packages

Expand Down
4 changes: 2 additions & 2 deletions dot.sh
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#!/usr/bin/env zsh
DIR="$(dirname "$(readlink -f "$0")")"
getpath="${GETPATH:-~/src}"
getpath="${GITGET_GETPATH:-~/src}"

_usage() {
echo "Usage: ./dot.sh [COMMAND]
Commands:
help prints this dialog
clone clones dotfiles to \$GETPATH (${getpath})
clone clones dotfiles to \$GITGET_GETPATH (${getpath})
link symlinks dotfiles
install installs all packages
Expand Down
2 changes: 1 addition & 1 deletion sh/.shrc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## Exports
#
export EDITOR=vim # default editor
export GETPATH=$HOME/src # git-get
export GITGET_GETPATH=$HOME/src # git-get
export GOPATH=$HOME/go # go code home
export GPG_TTY=$(tty) # gpg
export HOMEBREW_EDITOR=$EDITOR # brew edit
Expand Down
2 changes: 1 addition & 1 deletion sh/config.fish
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ set -x SHELL /opt/homebrew/bin/fish # let everyone know about fish
## Exports
#
set -x EDITOR vim # default editor
set -x GETPATH $HOME/src # git-get
set -x GITGET_GETPATH $HOME/src # git-get
set -x GOPATH $HOME/go # go code home
set -x GPG_TTY (tty) # gpg
set -x HOMEBREW_EDITOR $EDITOR # brew edit
Expand Down

0 comments on commit d4155ae

Please sign in to comment.