chore: tweaks and cleanup

This commit is contained in:
2024-10-17 23:29:40 +03:00
parent 42201d8b68
commit 8ec317f582
3 changed files with 2 additions and 5 deletions

View File

@@ -26,5 +26,3 @@ yq 4.44.3
bats 1.11.0
gitleaks 8.18.4
delta 0.18.1
sops 3.9.0
eza system

View File

@@ -5,7 +5,7 @@ hide_env_diff = true
[whitelist]
prefix = [
"~/Code/ivuorinen/"
"~/Code/"
]
exact = [
"~/.dotfiles/.envrc"

View File

@@ -25,12 +25,11 @@ fi
# Load asdf
export ASDF_DIR="$XDG_BIN_HOME/asdf"
if [[ -d $ASDF_DIR ]]; then
[[ -d $ASDF_DIR/bin ]] && x-path-prepend "$ASDF_DIR/bin"
[[ -d $ASDF_DIR/shims ]] && x-path-prepend "$ASDF_DIR/shims"
[[ -d $ASDF_DIR/completions ]] && fpath=("$ASDF_DIR/completions" $fpath)
[[ -d $ASDF_DIR/plugins ]] && fpath=("$ASDF_DIR/plugins" $fpath)
source "$ASDF_DIR/asdf.sh"
fi
export PATH="$ASDF_DIR/bin:$ASDF_DIR/shims:$PATH"
if ! command -v msg &> /dev/null; then
# Function to print messages if VERBOSE is enabled