Skip to content

Instantly share code, notes, and snippets.

@mikeywaites
Created June 7, 2012 09:38
Show Gist options
  • Save mikeywaites/2887871 to your computer and use it in GitHub Desktop.
Save mikeywaites/2887871 to your computer and use it in GitHub Desktop.
#set TERM to screen-256color for tmux 256 color support in vim
if [ I AM SCREEN ]; then
export TERM=screen-256color
alias tmux="tmux -2"
else
export TERM=xterm-256color
fi
@BigglesZX
Copy link


#!/bin/bash
if [ $STY ]
then
    echo "yes"
else
    echo "no"
fi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment