Tweaked aliases and added pushdot function to zshrc

This commit is contained in:
Sage Vaillancourt 2020-02-09 12:36:34 -05:00
parent 5af8d824cc
commit 2f7fb3cb67
2 changed files with 9 additions and 2 deletions

View File

@ -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'

8
.zshrc
View File

@ -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 -
}