From 728ec25293eaed3ec45c8f640498d0ef922cf627 Mon Sep 17 00:00:00 2001 From: JMARyA Date: Mon, 4 Mar 2024 20:53:00 +0100 Subject: [PATCH] add zshupdate --- zsh/fn.zsh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/zsh/fn.zsh b/zsh/fn.zsh index be66101..7dedb57 100644 --- a/zsh/fn.zsh +++ b/zsh/fn.zsh @@ -1,6 +1,12 @@ alias zshconfig="micro ~/.zshrc" alias zshrefresh="source ~/.zshrc" +function zshupdate() { + cd "~/.config/zshconfig" + git pull + cd - +} + # rename # rename files with replace pattern function rename() {