feat(zsh): create user zshrc if it doesn't exist
This commit is contained in:
parent
6157aa7c2c
commit
3dd89cd9bf
1 changed files with 3 additions and 0 deletions
3
zshenv
3
zshenv
|
@ -9,4 +9,7 @@ export ZSYSDIR="/usr/share/zsh-grawlinson"
|
|||
if [ ! -d "${ZDOTDIR}" ]; then mkdir -p "${ZDOTDIR}"; fi
|
||||
if [ ! -d "${ZCACHEDIR}" ]; then mkdir -p "${ZCACHEDIR}"; fi
|
||||
|
||||
# create empty zshrc if it does not exist
|
||||
if [ ! -e "${ZDOTDIR}/.zshrc" ]; then touch "${ZDOTDIR}/.zshrc"; fi
|
||||
|
||||
# vim: ft=zsh expandtab tabstop=2 shiftwidth=2
|
||||
|
|
Loading…
Reference in a new issue