add(fish): global variable for dotfiles

This commit is contained in:
Léana 江 2023-05-26 02:23:19 +02:00 committed by Léana 江
parent 1b25944258
commit e6691ce3e5
2 changed files with 11 additions and 7 deletions

View file

@ -1,6 +1,6 @@
function update_dotfiles
cd ~/.dotfiles/
git reset --hard
git pull origin main
prevd
cd $DOTFILES_PATH
git reset --hard
git pull origin main
prevd
end