Created
April 25, 2018 18:12
-
-
Save johnskopis/3ed88358445c2b691bff545971488f40 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Host github.com | |
PermitLocalCommand no | |
Host * | |
RequestTTY force | |
RemoteCommand env term=$TERM TERM=xterm-256color bash -i -c 'export PROMPT_COMMAND='"'"'if [ x"$term" == "xxterm-256colour" ]; then es=$"\033]0;"; else es=$"\033k"; fi; printf "$es%%s@%%s:%%s\033\\" "${USER}" "${HOSTNAME%%.*}" "${PWD/#$HOME/\~}"'"'"'; bash -i' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment