Fix fsw function and modify gp alias to push tags as well

This commit is contained in:
Daniel Flanagan 2018-05-14 08:38:38 -05:00
parent 85e410bd8f
commit 663124a4f5
2 changed files with 2 additions and 2 deletions

View file

@ -53,7 +53,7 @@ alias tmon="tmux attach -t monitoring || tmux new -s monitoring"
alias gs="git status"
alias gl="git log"
alias gpl="git pull"
alias gp="git push"
alias gp="git push --all"
alias grbpf="git push --force-with-lease"
alias gac="git add -A && git commit"
alias gsur="git submodule update --remote"

View file

@ -50,7 +50,7 @@ fsw() {
SHELL_COMMAND="${1}"
shift
inotifywait -q -m -e close_write "${@}" | while read -r _ _; do
${SHELL_COMMAND}
eval "${SHELL_COMMAND}"
done
}
export -f fsw