dgageot/demoit

demoit can't use .demoit/.bash_history on MacOS

Opened this issue · 2 comments

ZSH is the default shell on MacOS, so the shortcuts/snippets inside .demoit/.bash_history are not working properly

I saw on the logs

2022/11/17 23:20:16 New client connected: 127.0.0.1:51802, connections: 1/0
notify.Remove: "/Users/daparici/code/github.com/davidaparicio/devfeststrasbourg22/.demoit/.zsh_history.LOCK"
notify.Create: "/Users/daparici/code/github.com/davidaparicio/devfeststrasbourg22/.demoit/.zsh_history.LOCK"
2022/11/17 23:21:12 Connection closed by client: 127.0.0.1:51802, connections: 0/0
Using shell /bin/zsh
Using bashrc file /Users/daparici/code/github.com/davidaparicio/devfeststrasbourg22/.demoit/.bashrc
Using history /var/folders/_c/b1s2h27926vcyxzl48s1mh840000gn/T/demoit3577681000
2022/11/17 23:21:12 127.0.0.1:51800 301 GET /tty
2022/11/17 23:21:12 127.0.0.1:51800 200 GET /tty/

Other logs

❯ demoit
"Dev Mode" to live reload your slides can be enabled with '--dev'
Welcome to DemoIt. Please, open http://localhost:8888
2024/05/20 15:01:23 Permitting clients to write input to the PTY.
2024/05/20 15:01:23 HTTP server is listening at: http://127.0.0.1:9999/tty/
QR Code https://bazel.build/
QR Code https://bazel.build/
Using shell /bin/zsh
Using bashrc file /Users/daparicio/code/github.com/dgageot/demoit/sample/.demoit/.bashrc
Using history /var/folders/9t/bmb00rtx1hn1wj3gr760m4d80000gn/T/demoit2509651039
2024/05/20 15:01:48 127.0.0.1:49685 301 GET /tty
2024/05/20 15:01:48 127.0.0.1:49685 200 GET /tty/
2024/05/20 15:01:48 127.0.0.1:49685 200 GET /tty/css/index.css
2024/05/20 15:01:48 127.0.0.1:49685 200 GET /tty/css/xterm.css
2024/05/20 15:01:48 127.0.0.1:49690 200 GET /tty/css/xterm_customize.css
2024/05/20 15:01:48 127.0.0.1:49691 200 GET /tty/config.js
2024/05/20 15:01:48 127.0.0.1:49690 200 GET /tty/auth_token.js
2024/05/20 15:01:48 127.0.0.1:49685 200 GET /tty/js/gotty.js
2024/05/20 15:01:48 New client connected: 127.0.0.1:49694, connections: 1/0
2024/05/20 15:01:59 Connection closed by client: 127.0.0.1:49694, connections: 0/0
Using shell /bin/zsh
Using bashrc file /Users/daparicio/code/github.com/dgageot/demoit/sample/.demoit/.bashrc
Using history /var/folders/9t/bmb00rtx1hn1wj3gr760m4d80000gn/T/demoit3019024119
2024/05/20 15:01:59 127.0.0.1:49692 301 GET /tty
2024/05/20 15:01:59 127.0.0.1:49692 200 GET /tty/
2024/05/20 15:01:59 127.0.0.1:49692 200 GET /tty/auth_token.js
2024/05/20 15:01:59 127.0.0.1:49704 200 GET /tty/config.js
2024/05/20 15:01:59 127.0.0.1:49704 200 GET /tty/css/index.css
2024/05/20 15:01:59 127.0.0.1:49707 200 GET /tty/css/xterm.css
2024/05/20 15:01:59 127.0.0.1:49708 200 GET /tty/css/xterm_customize.css
2024/05/20 15:01:59 127.0.0.1:49689 200 GET /tty/js/gotty.js
2024/05/20 15:01:59 New client connected: 127.0.0.1:49710, connections: 1/0
2024/05/20 15:03:04 Connection closed by local command: 127.0.0.1:49710, connections: 0/0