fix bug in czedext introduced by latest chezmoi function changes
Esse commit está contido em:
pai
af74c92abb
commit
c77e0d9bec
1 arquivos alterados com 1 adições e 1 exclusões
|
@ -25,7 +25,7 @@ if is_cmd 'chezmoi'; then
|
||||||
}
|
}
|
||||||
czcd() { chezmoi cd "${@}"; }
|
czcd() { chezmoi cd "${@}"; }
|
||||||
czedext() {
|
czedext() {
|
||||||
local CZ_EXT="$(find $(chezmoi source-path) -mindepth 1 -maxdepth 1 -name '.chezmoiexternal.*')"
|
local CZ_EXT="$(find $(command chezmoi source-path) -mindepth 1 -maxdepth 1 -name '.chezmoiexternal.*')"
|
||||||
CZ_EXT="${CZ_EXT:-$(chezmoi source-path "${@}")/.chezmoiexternal.yaml.tmpl}"
|
CZ_EXT="${CZ_EXT:-$(chezmoi source-path "${@}")/.chezmoiexternal.yaml.tmpl}"
|
||||||
"${VISUAL:-${EDITOR:-vi}}" "${CZ_EXT}"
|
"${VISUAL:-${EDITOR:-vi}}" "${CZ_EXT}"
|
||||||
}
|
}
|
||||||
|
|
Carregando…
Adicionar tabela
Adicionar um link
Referência em uma nova issue