Renamed tmate session to avoid conflict with right eye.
This commit is contained in:
8
.bashrc
8
.bashrc
@ -101,11 +101,9 @@ elif [ -f ~/.bw_session ]; then export BW_SESSION=$(cat ~/.bw_session);
|
||||
else bwu; fi
|
||||
|
||||
# Try connect to my default tmate socket
|
||||
if ! tmate -S /tmp/$USER.tmate.tmate attach; then
|
||||
if ! tmate -S /tmp/default.tmate attach; then
|
||||
|
||||
tmate -S /tmp/$USER.tmate.tmate new-session -s $USER -n $USER -d
|
||||
tmate -S /tmp/$USER.tmate.tmate set-window-option -t $USER automatic-rename off
|
||||
tmate -S /tmp/$USER.tmate.tmate set-window-option -t $USER allow-rename off
|
||||
tmate -S /tmp/$USER.tmate.tmate attach
|
||||
tmate -S /tmp/default.tmate.tmate new-session -s default -n default -d
|
||||
tmate -S /tmp/default.tmate.tmate attach
|
||||
|
||||
fi
|
||||
|
||||
@ -62,7 +62,7 @@ After enabling the wsl feature we need to download the distribution installer an
|
||||
|
||||
For my tooling setup I currently use the Ubuntu distribution after historically preferring Debian. The reason for the shift is the native apt installation for an up to date ~emacs~ installation available in Ubuntu.
|
||||
|
||||
#+NAME: Download and run the debian installer
|
||||
#+NAME: Download and run the ubuntu installer
|
||||
#+BEGIN_SRC shell
|
||||
# Download the appx package for ubuntu distribution.
|
||||
powershell.exe curl.exe -L -o $env:TEMP\ubuntu.appx https://aka.ms/wslubuntu2004
|
||||
@ -102,7 +102,7 @@ To achieve this we can add an xlaunch configuration which is just xml with a fan
|
||||
|
||||
#+NAME: Apply our VcXsrv configuration
|
||||
#+BEGIN_SRC shell
|
||||
cd /c/ProgramData/Microsoft/Windows/Start\ Menu/Programs/Startup
|
||||
cd /mnt/c/ProgramData/Microsoft/Windows/Start\ Menu/Programs/Startup
|
||||
cat > VcXsrv.xlaunch << EOF
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<XLaunch WindowMode="MultiWindow" ClientMode="NoClient" LocalClient="False" Display="-1" LocalProgram="xcalc" RemoteProgram="xterm" RemotePassword="" PrivateKey="" RemoteHost="" RemoteUser="" XDMCPHost="" XDMCPBroadcast="False" XDMCPIndirect="False" Clipboard="True" ClipboardPrimary="True" ExtraParams="" Wgl="True" DisableAC="True" XDMCPTerminate="False"/>
|
||||
|
||||
Reference in New Issue
Block a user