Some changes from work machine

This commit is contained in:
Vasili Svirydau
2021-11-16 20:33:23 +00:00
committed by Vasili Svirydau
parent 6b2245dd16
commit e743c663ac
9 changed files with 50 additions and 1 deletions

View File

@@ -3,3 +3,15 @@
function gr() {
cd "$(git rev-parse --show-toplevel)" || return
}
function tdd() {
set +e
path=$1
shift
echo "Path: \"$path\""
echo "Command: \"$@\""
while [[ $? == 0 ]]
inotifywait -r "$path" -e create -qq;
eval "$@"
do echo $?; done;
}