From 2415dff0e2e1c00f57c29bc0514cf5321700afbf Mon Sep 17 00:00:00 2001 From: Ismo Vuorinen Date: Wed, 27 Sep 2023 11:08:44 +0300 Subject: [PATCH] feat(scripts): dfu - dotfiles update function --- config/functions | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/config/functions b/config/functions index 8853987..4a5dc03 100755 --- a/config/functions +++ b/config/functions @@ -12,6 +12,14 @@ preexec() print -Pn "\e]0;$1%~\a" } +# Update dotfiles +dfu() +{ + ( + cd "$DOTFILES" && git pull --ff-only && ./install -q + ) +} + # Weather in Tampere, or other city weather() {