1
0
mirror of https://github.com/pratiktri/dotfiles.git synced 2026-05-07 03:53:41 +05:30

fix(bash/zsh): Non-interactive login shell wasn't picking ~/.profile

This commit is contained in:
Pratik Tripathy
2025-07-24 16:48:31 +05:30
parent 9306b611b9
commit 43a5671f5d
2 changed files with 6 additions and 2 deletions
+3
View File
@@ -11,6 +11,9 @@
# exec 3>&2 2>$logfile
# setopt XTRACE
# Sets environment variables for login non-interactive shells (VS Code & Zed)
[ -z "$XDG_CONFIG_HOME" ] && source "$HOME"/.profile
# ZSH Options # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
bindkey -v # enable vi-mode
setopt +o nomatch # Unmatched glob patterns like bash