Better handling updates of dotfiles and zsh modules; remove unused line.
This commit is contained in:
parent
5040adf295
commit
a6baf50d5d
1 changed files with 3 additions and 4 deletions
|
@ -1,3 +1,5 @@
|
|||
LOCAL_GIT_DIR=${HOME}/.local/git
|
||||
|
||||
alias ga='git add .; git commit --no-edit --amend; git push --force-with-lease'
|
||||
alias gae='git add .; git commit --amend; git push --force-with-lease'
|
||||
alias less='less -R'
|
||||
|
@ -45,11 +47,8 @@ else
|
|||
fi
|
||||
|
||||
function ud() {
|
||||
wd dots && git pull
|
||||
for i in ~/.local/git/zsh_modules/*; do sh -c "cd $i && git pull"; done
|
||||
for i in ${LOCAL_GIT_DIR}/dotfiles ${LOCAL_GIT_DIR}/zsh_modules/*; do git -C ${i} pull; done
|
||||
nvim -c "lua require('lazy').sync({wait = true})"
|
||||
rm -rf ~/go
|
||||
cd
|
||||
}
|
||||
function upgrade() {
|
||||
case $(lsb_release -si) in
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue