15 lines
237 B
Plaintext
15 lines
237 B
Plaintext
|
# Functions for manipulating my dotfiles repo
|
||
|
# vim: ft=zsh
|
||
|
|
||
|
function dotfiles() {
|
||
|
declare act=$1
|
||
|
|
||
|
case $act in
|
||
|
pull|diff) git -C $dotfiles_dir $1;;
|
||
|
push)
|
||
|
git -C $dotfiles_dir commit -a
|
||
|
git -C $dotfiles_dir push
|
||
|
;;
|
||
|
esac
|
||
|
}
|