Fix fsw function and modify gp alias to push tags as well
This commit is contained in:
parent
85e410bd8f
commit
663124a4f5
|
@ -53,7 +53,7 @@ alias tmon="tmux attach -t monitoring || tmux new -s monitoring"
|
||||||
alias gs="git status"
|
alias gs="git status"
|
||||||
alias gl="git log"
|
alias gl="git log"
|
||||||
alias gpl="git pull"
|
alias gpl="git pull"
|
||||||
alias gp="git push"
|
alias gp="git push --all"
|
||||||
alias grbpf="git push --force-with-lease"
|
alias grbpf="git push --force-with-lease"
|
||||||
alias gac="git add -A && git commit"
|
alias gac="git add -A && git commit"
|
||||||
alias gsur="git submodule update --remote"
|
alias gsur="git submodule update --remote"
|
||||||
|
|
|
@ -50,7 +50,7 @@ fsw() {
|
||||||
SHELL_COMMAND="${1}"
|
SHELL_COMMAND="${1}"
|
||||||
shift
|
shift
|
||||||
inotifywait -q -m -e close_write "${@}" | while read -r _ _; do
|
inotifywait -q -m -e close_write "${@}" | while read -r _ _; do
|
||||||
${SHELL_COMMAND}
|
eval "${SHELL_COMMAND}"
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
export -f fsw
|
export -f fsw
|
||||||
|
|
Reference in a new issue