diff --git a/start-session.sh b/start-session.sh index c0d7e23..8b99fcb 100755 --- a/start-session.sh +++ b/start-session.sh @@ -1,15 +1,2 @@ #!/bin/bash -set -x -export ALTERNATE_EDITOR="" -BASE=$(basename $1) -tmate -S /tmp/${USER}.${BASE}.iisocket new-session \ - -A -s $USER -n emacs \ - "tmate wait tmate-ready \ -&& TMATE_CONNECT=\ -\$(tmate display -p '#{tmate_ssh} # ${USER}.${BASE} # $(date) # #{tmate_web}') \ -; echo \$TMATE_CONNECT \ -; (echo \$TMATE_CONNECT | xclip -i -sel p -f | xclip -i -sel c )2>/dev/null \ -; echo Share the above with your friends and hit enter here when done? \ -; read ; \ -emacsclient -s $BASE --tty $1 2>&1" - +tmate -S /tmp/$USER.$USER.tmate new-session -s james -n james diff --git a/wsl-setup.org b/wsl-setup.org index 118488d..1643a37 100644 --- a/wsl-setup.org +++ b/wsl-setup.org @@ -324,8 +324,8 @@ Once our keys are available to us we can clone down our dotfiles and get back to # Replace the osc52 command with xsel sed -i -e 's/osc52.sh/xsel -i -b/g' /usr/local/share/emacs/site-lisp/bin/osc52-tmate.sh - # Fix the ob-tmate bug - #sed -i -e 's/ob-session dir))/ob-session session-dir))/g' /usr/local/share/emacs/site-lisp/spacemacs/elpa/26.3/develop/ob-tmate-20200206.109/ob-tmate.el + # Provide custom xclipboard functions + # https://github.com/syl20bnr/spacemacs/issues/2222 #+END_SRC