Fix dotsync alias

This commit is contained in:
Marko Korhonen 2022-08-22 15:01:18 +03:00
parent 8643dd3b6b
commit f84f9b72f5
No known key found for this signature in database
GPG key ID: 911B85FBC6003FE5
2 changed files with 2 additions and 1 deletions

View file

@ -58,6 +58,7 @@ require("mason-lspconfig").setup({automatic_installation = true})
lspconfig.tsserver.setup {{}, on_attach = M.lsp_map_keys}
lspconfig.yamlls.setup {{}, on_attach = M.lsp_map_keys}
lspconfig.jsonls.setup {{}, on_attach = M.lsp_map_keys}
lspconfig.html.setup {{}, on_attach = M.lsp_map_keys}
lspconfig.sumneko_lua.setup {
settings = {

View file

@ -106,7 +106,7 @@ sdotdrop() { source $DOTREPO/secrets/secrets && sudo -E $DOTREPO/dotdrop/dotdrop
updatesecrets() { bash $DOTREPO/secrets/secrets.sh; chmod 600 $DOTREPO/secrets/secrets }
compdef _dotdrop-completion.zsh sdotdrop
alias dotgit='git -C $DOTREPO'
dotsync() { cd $DOTREPO && gpull && ga && gc && gpush && cd $OLDPWD }
dotsync() { cd $DOTREPO && gac && gpull && gpush && cd $OLDPWD }
# sync password manager
passync() { pass git pull && pass git push && updatesecrets }