mirror of
https://github.com/pratiktri/dotfiles.git
synced 2026-02-04 08:41:43 +05:30
fix(bash/zsh): Non-interactive login shell wasn't picking ~/.profile
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user