15 lines
237 B
Bash
15 lines
237 B
Bash
# 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
|
|
}
|