Some changes from work machine
This commit is contained in:
committed by
Vasili Svirydau
parent
6b2245dd16
commit
e743c663ac
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user