1
0
Fork 0
mirror of synced 2024-12-27 00:13:20 -05:00
zimfw/templates
Eric Nielsen a05890e8b4
Use cat to concatenate files in installation
Update installation instructions in README.md to use cat. Also add blank
lines at the end (instead of beginning) of template files, since they're
prepended (not appended) to existing files.

See difference of output between print and cat (zlogin having a blank
like at the end):

    % print -rn "$(<zlogin)$(<test)"
    #
    # User configuration sourced by login shells
    #

    # Initialize zim
    [[ -s ${ZIM_HOME}/login_init.zsh ]] && source ${ZIM_HOME}/login_init.zsh# Hello world
    % cat zlogin test
    #
    # User configuration sourced by login shells
    #

    # Initialize zim
    [[ -s ${ZIM_HOME}/login_init.zsh ]] && source ${ZIM_HOME}/login_init.zsh

    # Hello world

Fixes #94. Fixes #280. Closes #300
2018-11-21 11:58:30 -05:00
..
zimrc Use cat to concatenate files in installation 2018-11-21 11:58:30 -05:00
zlogin Use cat to concatenate files in installation 2018-11-21 11:58:30 -05:00
zshrc Use cat to concatenate files in installation 2018-11-21 11:58:30 -05:00