mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2026-11-25 01:43:04 +01:00
Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
934576b89b |
No files matched your search
+4
-3
@@ -237,9 +237,10 @@ function _omz_diag_dump_one_big_text() {
|
|||||||
fi
|
fi
|
||||||
builtin echo
|
builtin echo
|
||||||
builtin echo "Zsh compdump files:"
|
builtin echo "Zsh compdump files:"
|
||||||
local dumpfile dumpfiles
|
local dumpfile
|
||||||
command ls -lad $zdotdir/.zcompdump*
|
local -U dumpfiles
|
||||||
dumpfiles=( $zdotdir/.zcompdump*(N) )
|
dumpfiles=( $zdotdir/.zcompdump*(N) ${ZSH_COMPDUMP:h}/.zcompdump*(N) )
|
||||||
|
(( $#dumpfiles )) && command ls -lad $dumpfiles
|
||||||
if [[ $verbose -ge 2 ]]; then
|
if [[ $verbose -ge 2 ]]; then
|
||||||
for dumpfile in $dumpfiles; do
|
for dumpfile in $dumpfiles; do
|
||||||
_omz_diag_dump_echo_file_w_header $dumpfile
|
_omz_diag_dump_echo_file_w_header $dumpfile
|
||||||
|
|||||||
+1
-1
@@ -128,7 +128,7 @@ fi
|
|||||||
|
|
||||||
# Save the location of the current completion dump file.
|
# Save the location of the current completion dump file.
|
||||||
if [[ -z "$ZSH_COMPDUMP" ]]; then
|
if [[ -z "$ZSH_COMPDUMP" ]]; then
|
||||||
ZSH_COMPDUMP="${ZDOTDIR:-$HOME}/.zcompdump-${SHORT_HOST}-${ZSH_VERSION}"
|
ZSH_COMPDUMP="${ZSH_CACHE_DIR}/.zcompdump-${SHORT_HOST}-${ZSH_VERSION}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Resolve the commit $ZSH is checked out at into $REPLY by reading the git
|
# Resolve the commit $ZSH is checked out at into $REPLY by reading the git
|
||||||
|
|||||||
Reference in new issue
Block a user