Fix note sync command

This commit is contained in:
Daniel Flanagan 2018-11-05 15:55:52 -06:00
parent 877858841c
commit 134134fcd5

View file

@ -37,7 +37,7 @@ alias cdd="cd \"\$DOTFILES_PATH\"" # go to dotfiles
alias cdc="cd \"\$XDG_CONFIG_HOME\"" # go to alias cdc="cd \"\$XDG_CONFIG_HOME\"" # go to
alias cdn="cd \"\$NOTES_PATH\"" alias cdn="cd \"\$NOTES_PATH\""
alias nsync="cd \"\$NOTES_PATH\" && git add -A && git commit -m Updates && git pull && git push && cd -" alias nsync="cd \"\$NOTES_PATH\"; git add -A; git commit -m Updates; git pull && git push; cd -"
function cdp() { function cdp() {
cd "$(dirname "$(fzf)")" || return cd "$(dirname "$(fzf)")" || return