From 2f7fb3cb67e053c2fd08e05d41d57c1418dc961b Mon Sep 17 00:00:00 2001 From: Sage Vaillancourt Date: Sun, 9 Feb 2020 12:36:34 -0500 Subject: [PATCH] Tweaked aliases and added pushdot function to zshrc --- .shell_aliases | 3 +-- .zshrc | 8 ++++++++ 2 files changed, 9 insertions(+), 2 deletions(-) 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 - +}