This is Kyle's config setup... konfig :D
Add parts of this that you want to your .bash_profile
# UPDATE THESE
export KONFIG_ROOT=path/to/konfig
export KONFIG_PROMPT_PREFIX="TAG" # short tag that is prefixed to
# the prompt to identifiy which
# server you are currently on
source "$KONFIG_ROOT/bash/prompt" # minimalistic prompt
source "$KONFIG_ROOT/bash/aliases" # aliases for general productivity
alias touch="$KONFIG_ROOT/bash/mytouch" # better touch command
# UPDATE THESE
export DEVSERVER=kad.sb.facebook.com
export DEVSERVER_FBSOURCE="/data/users/kad/fbsource"
export LOCAL_FBSOURCE="~/fbsource"
source "$KONFIG_ROOT/bash/nuclide" # aliases specific to nuclidecon(short for connect) will attempt to connect usingmosh -6 devcon2fordev2,con3fordev3ttattach to an existing tmux session or create a new one
Link to the tmux conf in this repository.
ln -s path/to/konfig/tmux.conf ~/.tmux.confTODO: Would be nice if I could just import my tmux settings somehow, similar to the sources above. Maybe one day I will look into this a bit more.
ctrl+aallows you to run "tmux" commandsctrl+a, %to split horizontallyctrl+a, "to split verticallyctrl+a, x, y/nto close somethingctrl+a, <number>to go to a window by numberctrl+a, ccreate a new window- Can use the mouse to scroll
- For iTerm2: iTerm -> preferences -> profiles -> terminal -> enable "Enable xterm mouse reporting"
- Hold
optionto highlight and copy text in the terminal