We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I use entr like this
ls static/* views/* . | entr echo 1
and it works perfectly. However if I want to do this ...
ls static/* views/* . | entr echo 1 ; echo 2
I just cannot get it to work. I've tried
ls static/* views/* . | entr 'echo 1 ; echo 2'
example,
% ls static/* views/* . | entr 'echo 1 && echo 2' entr: exec echo 1 && echo 2: No such file or directory
and every variation I can think of. Aliases don't work.
What the heck could the solution be??
My aim is simple, git commit -am 'auto' && git push
git commit -am 'auto' && git push
Thanks, sorry if trivial !
The text was updated successfully, but these errors were encountered:
Resolved, it's
alias -g superotto="find \$PWD -name '.*' -prune -o -print | entr zsh -c \"git commit -am 'auto' && git push\""
works perfectly if put in .zsh
Perhaps it will help someone. Thanks and sorry for the bother!
Sorry, something went wrong.
I think you're being tripped up the the output of ls(1) since it doesn't print directory names by default. Try
ls -d static/* views/* | entr ...
Also note that globbing is performed by the shell, so this would work as well
echo static/* views/* | entr ...
No branches or pull requests
I use entr like this
ls static/* views/* . | entr echo 1
and it works perfectly. However if I want to do this ...
ls static/* views/* . | entr echo 1 ; echo 2
I just cannot get it to work. I've tried
ls static/* views/* . | entr 'echo 1 ; echo 2'
example,
and every variation I can think of. Aliases don't work.
What the heck could the solution be??
My aim is simple,
git commit -am 'auto' && git push
Thanks, sorry if trivial !
The text was updated successfully, but these errors were encountered: