commit cf94f5faf4b34db5fb53887ebadb49d0fbca325c parent d6449f020e41dbe120d9b4e85e7f917542f2e9e7 Author: Pablo Cárdenas <pablo.cardenas@imca.edu.pe> Date: Thu, 8 Sep 2022 16:16:25 -0500 Use --exclude-standard flag for git ls-files Diffstat:
| M | linux/.local/bin/thesis | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/linux/.local/bin/thesis b/linux/.local/bin/thesis @@ -9,7 +9,7 @@ if ! tmux has-session -t thesis 2>/dev/null; then tmux send-keys -t thesis:0.0 'sleep 0.5s; vim --servername thesis -S ~/.vim/session/thesis.vim' C-m tmux new-window -t thesis -n pdftex - tmux send-keys -t thesis:1.0 'while sleep 0.5s; do git ls-files --cached --other -X .gitignore | entr -ccds "pdftex -output-directory=/tmp -synctex=1 -interaction=nonstopmode -halt-on-error document.tex" ; done' C-m + tmux send-keys -t thesis:1.0 'while sleep 0.5s; do git ls-files --cached --other --exclude-standard | entr -ccds "pdftex -output-directory=/tmp -synctex=1 -interaction=nonstopmode -halt-on-error document.tex" ; done' C-m tmux new-window -t thesis -c /usr/local/texlive/2022/ -n texlive