From 5f8272a0128cc02a289b8391ecfda3fb162b11d7 Mon Sep 17 00:00:00 2001 From: Raine Date: Sat, 14 Oct 2023 22:38:14 +0200 Subject: [PATCH] add update dotfiles function --- crates/10-zsh/files/.zshrc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/crates/10-zsh/files/.zshrc b/crates/10-zsh/files/.zshrc index c49eb5c..c75277d 100644 --- a/crates/10-zsh/files/.zshrc +++ b/crates/10-zsh/files/.zshrc @@ -16,6 +16,13 @@ alias nobeep="sudo modprobe -r pcspkr" alias s="title $HOST && cmatrix -rs && clear" alias q="exit" +update_dotfiles() { + cd $HOME/.dotfiles + git pull + cd - &> /dev/null +} +alias udf="update_dotfiles" + # COSMETICS fastfetch