A bunch of env file changes I lost track of
This commit is contained in:
parent
8b78292024
commit
f1edee97ea
10 changed files with 34 additions and 0 deletions
|
@ -7,6 +7,12 @@ if is_cmd 'chezmoi'; then
|
|||
|
||||
export CHEZMOI_GITHUB_ACCESS_TOKEN={{- .githubToken | quote }}
|
||||
|
||||
CZG_ROOT="$(chezmoi git -- rev-parse --show-toplevel)"
|
||||
alias czg="git --work-tree=$CZG_ROOT --git-dir=$CZG_ROOT/.git "
|
||||
unset CZG_ROOT
|
||||
|
||||
complete -F _complete_alias czg
|
||||
|
||||
czcd() {
|
||||
cd "$(chezmoi source-path "${@}")"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue