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 nuclide
con
(short for connect) will attempt to connect usingmosh -6 dev
con2
fordev2
,con3
fordev3
tt
attach 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.conf
TODO: 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+a
allows you to run "tmux" commandsctrl+a, %
to split horizontallyctrl+a, "
to split verticallyctrl+a, x, y/n
to close somethingctrl+a, <number>
to go to a window by numberctrl+a, c
create a new window- Can use the mouse to scroll
- For iTerm2: iTerm -> preferences -> profiles -> terminal -> enable "Enable xterm mouse reporting"
- Hold
option
to highlight and copy text in the terminal