diff --git a/.profile b/.profile index a87a6d6..4482874 100644 --- a/.profile +++ b/.profile @@ -90,6 +90,7 @@ done unset i + case $AGKDOT_SYSTEMINFO in *Msys) [ -d /mingw64/bin ] && PATH="/mingw64/bin:$PATH" ;; esac @@ -124,6 +125,12 @@ case $AGKDOT_SYSTEMINFO in *raspberrypi*) command -v chromium-browser > /dev/null 2>&1 && BROWSER='chromium-browser' ;; + *Microsoft*) # WSL + [ ! -d "${HOME}/.screen" ] && mkdir "${HOME}/.screen" \ + && chmod 700 "${HOME}/.screen" + export SCREENDIR + SCREENDIR="${HOME}/.screen" + ;; esac # }}}1 diff --git a/.screenrc b/.screenrc index 418bc64..39a8824 100644 --- a/.screenrc +++ b/.screenrc @@ -4,7 +4,7 @@ shell -$SHELL hardstatus on hardstatus alwayslastline '%H: %-Lw%34>[%n*%f %t]%+Lw' escape "^Qq" -termcapinfo xterm*|rxvt*|kterm*|Eterm*|putty*|dtterm* WS=\E[8;%d;%dt +# termcapinfo xterm*|rxvt*|kterm*|Eterm*|putty*|dtterm* WS=\E[8;%d;%dt termcapinfo xterm*|rxvt*|kterm*|Eterm*|putty*|dtterm* ti@:te@:G0 termcapinfo xterm*|rxvt*|kterm*|Eterm*|putty*|dtterm* hs:ts=\E]2;:fs=\007:ds=\E]2;8)\007 termcapinfo xterm*|rxvt*|kterm*|Eterm*|putty*|dtterm* XT