Fix some asdf issues
This commit is contained in:
@@ -27,6 +27,12 @@ export ZDOTDIR="$XDG_CONFIG_HOME/zsh" # may already be set, set anyway
|
||||
# git
|
||||
export GIT_EDITOR="$EDITOR"
|
||||
|
||||
# language support/tools
|
||||
export ASDF_DIR="$XDG_CONFIG_HOME/asdf"
|
||||
export ASDF_CONFIG_FILE="$ASDF_DIR/.asdfrc"
|
||||
export ASDF_DATA_DIR="$DIR_LOCAL/.asdf"
|
||||
export ASDF_TOOL_VERSIONS_FILENAME=".asdf_tool_versions"
|
||||
|
||||
# clean-up of home dir
|
||||
export __CF_USER_TEXT_ENCODING="0x0:0x0"
|
||||
|
||||
|
@@ -34,4 +34,4 @@ alias journal="cd $DIR_HOME_BOX; $EDITOR .current-journal"
|
||||
|
||||
# TODO: refactor the below; simplify or at least move elsewhere
|
||||
export DEVKITARM=/opt/devkitpro/devkitARM
|
||||
. /opt/homebrew/opt/asdf/libexec/asdf.sh # TODO: ensure not duplicated asdf logic
|
||||
. $(brew --prefix asdf)/libexec/asdf.sh
|
||||
|
@@ -1,7 +1,5 @@
|
||||
# set env vars, path updates, etc
|
||||
[[ -a $HOME/.local-box-vars ]] \
|
||||
&& source $HOME/.local-box-vars \
|
||||
&& . /usr/local/opt/asdf/libexec/asdf.sh
|
||||
[[ -a $HOME/.local-box-vars ]] && source $HOME/.local-box-vars
|
||||
|
||||
# login shortcuts
|
||||
alias assume="source assume"
|
||||
|
Reference in New Issue
Block a user