diff --git a/.shell_aliases b/.shell_aliases index 2316028..464dc8e 100644 --- a/.shell_aliases +++ b/.shell_aliases @@ -29,8 +29,7 @@ alias bim="vim " # and config file shortcuts alias vimc="vim ~/.vimrc" -alias zshc="vim ~/.zshrc" -alias zshrc="vim ~/.zshrc" +alias zz="vim ~/.zshrc && source ~/.zshrc" alias al='vim ~/.shell_aliases && source ~/.shell_aliases' alias pacman='sudo pacman' diff --git a/.zshrc b/.zshrc index c50c2ba..99066a2 100644 --- a/.zshrc +++ b/.zshrc @@ -124,3 +124,11 @@ bindkey -v source ~/.shell_aliases export fsu="vaillanc@linprog.cs.fsu.edu" + +function pushdot { + cd ~/.dotfiles + git add .* + git commit + git push -u origin master + cd - +}