Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit d78753a

Browse files
committedMar 2, 2024·
Load fragments from ~/.zshrc.work.d when present
Signed-off-by: Joe Block <jpb@unixorn.net>
1 parent cdd295f commit d78753a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed
 

‎zsh/.zshrc

+5
Original file line numberDiff line numberDiff line change
@@ -667,6 +667,11 @@ if [[ -d "$HOME/.zshrc.$(uname).d" ]]; then
667667
load-shell-fragments "$HOME/.zshrc.$(uname).d"
668668
fi
669669

670+
# Load work-specific fragments when present
671+
if [[ -d "$HOME/.zshrc.work.d" ]]; then
672+
load-shell-fragments "$HOME/.zshrc.work.d"
673+
fi
674+
670675
# If GOPATH is defined, add it to $PATH
671676
if [[ -n "$GOPATH" ]]; then
672677
if [[ -d "$GOPATH" ]]; then

0 commit comments

Comments
 (0)
Please sign in to comment.