Skip to content

Commit c0390bd

Browse files
committed
changed(zshrc): modify end section to be excluded from modification by 'chezmoi apply'
1 parent fcadea8 commit c0390bd

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

includes/zshrc-files/zshrc-linux.zsh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -315,5 +315,9 @@ hash starship 2>/dev/null \
315315
&& eval "$(starship init zsh)"
316316

317317

318-
####[ Others ]##############################################################################
319-
#### These are generally configurations set up by setup scripts or other programs.
318+
####[ Chezmoi Unmodified ]##################################################################
319+
#### This section is left untouched by chezmoi when executing 'chezmoi update' or 'chezmoi
320+
#### apply'.
321+
#### DO NOT MODIFY THE COMMENT BELOW! It acts as the delimiter for chezmoi to know where to
322+
#### stop modifying the file. If it's removed, chezmoi will remove everything below it.
323+
#### chezmoi:unmodified

includes/zshrc-files/zshrc-macos.zsh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -279,5 +279,9 @@ hash starship 2>/dev/null \
279279
&& eval "$(starship init zsh)"
280280

281281

282-
####[ Others ]##############################################################################
283-
#### These are generally configurations set up by setup scripts or other programs.
282+
####[ Chezmoi Unmodified ]##################################################################
283+
#### This section is left untouched by chezmoi when executing 'chezmoi update' or 'chezmoi
284+
#### apply'.
285+
#### DO NOT MODIFY THE COMMENT BELOW! It acts as the delimiter for chezmoi to know where to
286+
#### stop modifying the file. If it's removed, chezmoi will remove everything below it.
287+
#### chezmoi:unmodified

0 commit comments

Comments
 (0)