mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-12 21:39:48 +01:00
init: reapply hack for invalid ZSH_COMPDUMP filenames (b8761985
)
This commit is contained in:
parent
5d1cdb22c1
commit
aee9e603b4
1 changed files with 3 additions and 1 deletions
|
@ -85,7 +85,9 @@ fi
|
|||
|
||||
# Append zcompdump metadata if missing
|
||||
if (( $zcompdump_refresh )); then
|
||||
cat >>| "$ZSH_COMPDUMP" <<EOF
|
||||
# Use `tee` in case the $ZSH_COMPDUMP filename is invalid, to silence the error
|
||||
# See https://github.com/ohmyzsh/ohmyzsh/commit/dd1a7269#commitcomment-39003489
|
||||
tee -a "$ZSH_COMPDUMP" &>/dev/null <<EOF
|
||||
|
||||
$zcompdump_revision
|
||||
$zcompdump_fpath
|
||||
|
|
Loading…
Reference in a new issue