dotfiles/Note/WSL/run_emacs.sh
2021-08-06 14:57:00 +09:00

9 lines
175 B
Bash
Executable File

#!/bin/bash
VETHER_IP=$(/bin/grep nameserver /etc/resolv.conf 2> /dev/null | /bin/tr -s ' ' | /bin/cut -d' ' -f2)
export DISPLAY=$VETHER_IP:10.0
emacs
disown
exit