commit 1c429becc176cf4aee6a4f3b923c87544eefef16 parent 1e73aa0720643077a8b6be39f09e6e753bc8d688 Author: Pablo Cárdenas <pablo.cardenas@imca.edu.pe> Date: Mon, 18 Jul 2022 16:04:08 -0500 Updated thesis script Diffstat:
| M | linux/.local/bin/thesis | | | 4 | +++- |
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/linux/.local/bin/thesis b/linux/.local/bin/thesis @@ -10,7 +10,9 @@ if ! tmux has-session -t thesis 2>/dev/null; then tmux select-layout -t thesis main-horizontal tmux send-keys -t thesis:0.0 'sleep 0.5s; vim --servername thesis -S ~/.vim/session/thesis.vim' C-m - tmux send-keys -t thesis:0.1 'while sleep 0.5s; do find | entr -ccds "pdftex -output-directory=/tmp -synctex=1 -interaction=nonstopmode -halt-on-error document.tex | head -n -2" ; done' C-m + tmux send-keys -t thesis:0.1 '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 | head -n -2" ; done' C-m + + tmux new-window -t thesis -c /usr/local/texlive/2022/ -n texlive tmux select-window -t thesis:0 tmux select-pane -t thesis:0.0