dotfiles maintenance in subshell
This commit is contained in:
parent
32bd17a702
commit
eeaa54993a
@ -4,6 +4,13 @@ dotfiles-update() {
|
|||||||
"${ZSHU[d_zdot]}/.config/dotfiles/install.sh"
|
"${ZSHU[d_zdot]}/.config/dotfiles/install.sh"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
dotfiles-git() { (
|
||||||
|
cd "${ZSHU[d_zdot]}/"
|
||||||
|
export GIT_DIR="${ZSHU[d_zdot]}/.config/dotfiles/repo.git"
|
||||||
|
export GIT_WORK_TREE="${ZSHU[d_zdot]}"
|
||||||
|
zsh -i
|
||||||
|
) }
|
||||||
|
|
||||||
z-update() {
|
z-update() {
|
||||||
dotfiles-update
|
dotfiles-update
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user