我有以下用于 tmuxinator 的 YAML:
# ~/.tmuxinator/st.yml
name: st
root: ~/learn/gnu-smalltalk
attach: false
# Runs before everything. Use it to start daemons etc.
on_project_start:
- emacs --daemon=gst --title=GST
- export EDITOR="emacsclient --server-file=gst -c -n"
- export VISUAL=$EDITOR
- $EDITOR &;
- gst-load -iI shampoo.im Shampoo
- gst-remote -I shampoo.im --daemon
- gst-remote -e "Shampoo.ShampooServer startOn: 9090 login: 'st' pass: 'st'"
on_project_exit:
- tmux -CC attach -t st
windows:
- console-emacs-dev:
- export EDITOR="emacsclient --server-file=gst -c -n"
- export VISUAL=$EDITOR
- echo "A currar"
- exercism:
- export EDITOR="emacsclient --server-file=gst -c -n"
- export VISUAL=$EDITOR
我有两个无法解决的错误,首先是:
st.yml 14 61 error mapping values are not allowed in this context (yaml-ruby)
我试图转义字符':',
gst-remote -e "Shampoo.ShampooServer startOn: 9090 login\: 'st' pass\: 'st'"
但同样的事情发生
不起作用。