Skip to content

Commit 38faf58

Browse files
committed
Add chezmoi wrapper
1 parent 9dd3fa5 commit 38faf58

2 files changed

Lines changed: 11 additions & 1 deletion

File tree

bin/cz

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#!/bin/bash
2+
set -eu
3+
4+
homebrew_dir="/opt/homebrew"
5+
brew="$homebrew_dir/bin/brew"
6+
7+
env -i HOME="$HOME" GITHUB_ACTIONS="${GITHUB_ACTIONS:-}" /bin/bash --noprofile --norc << EOF
8+
eval "\$(/usr/libexec/path_helper -s)"
9+
eval "\$("$brew" shellenv)"
10+
chezmoi "$@"
11+
EOF

src/dot_config/zsh/zshrc.defer.d/alias.zsh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
alias sudo="sudo "
22
alias sudoe='sudo -e'
33
alias vi='nvim'
4-
alias cz='chezmoi'
54

65
case "${OSTYPE}" in
76
darwin*)

0 commit comments

Comments
 (0)