dotfiles/homedir/.config/zsh.d/modules/dotfiles
fbt c78cb78ff0 init
Signed-off-by: fbt <fbt@fleshless.org>
2017-05-03 16:10:13 +03:00

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
}