From 663124a4f5f960004cc14f24693318adf26bbb83 Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Mon, 14 May 2018 08:38:38 -0500 Subject: [PATCH] Fix fsw function and modify gp alias to push tags as well --- shell/aliases | 2 +- shell/shell_funcs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/shell/aliases b/shell/aliases index 3227a14..85c9f13 100644 --- a/shell/aliases +++ b/shell/aliases @@ -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" diff --git a/shell/shell_funcs b/shell/shell_funcs index 4326f6b..4dd5077 100644 --- a/shell/shell_funcs +++ b/shell/shell_funcs @@ -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