We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4302778 commit 98d46ccCopy full SHA for 98d46cc
1 file changed
shell/HOMELY.py
@@ -184,8 +184,16 @@ def _bashrc():
184
185
@section(enabled=want_full)
186
def zsh_config():
187
- lineinfile('~/.zshrc', 'source $HOME/.shellrc', where=WHERE_TOP)
188
- lineinfile('~/.zshrc', 'source $HOME/.config/shell_settings.sh', where=WHERE_TOP)
+ blockinfile(
+ '~/.zshrc',
189
+ [
190
+ 'source $HOME/.config/shell_settings.sh',
191
+ 'source $HOME/.shellrc',
192
+ ],
193
+ where=WHERE_TOP,
194
+ prefix='Start of homely initialisation',
195
+ suffix='End of homely initialisation',
196
+ )
197
install_completions('~/.zshrc')
198
lineinfile('~/.zshrc', 'shell_init_done # this line must be last', where=WHERE_END)
199
antigen = InstallFromSource('https://github.com/zsh-users/antigen.git',
0 commit comments