As configured in my dotfiles.
start new:
tmux
start new with session name:
: 'This script aims at recognizing all Bourne compatible shells. | |
Emphasis is on shells without any version variables. | |
Comments to mascheck@in-ulm.de' | |
: '$Id: whatshell.sh,v 1.17 2012/04/23 21:59:02 xmascheck Exp xmascheck $' | |
: 'fixes are tracked on www.in-ulm.de/~mascheck/various/whatshell/' | |
LC_ALL=C export LC_ALL | |
: 'trivial cases first, yet parseable for historic shells' | |
case $BASH_VERSION in *.*) { echo "bash $BASH_VERSION";exit;};;esac | |
case $ZSH_VERSION in *.*) { echo "zsh $ZSH_VERSION";exit;};;esac |
As configured in my dotfiles.
start new:
tmux
start new with session name:
http://www.codem0nk3y.com/2012/12/how-to-reload-zsh-config/ |
http://unix.stackexchange.com/questions/14300/tmux-move-window-to-pane | |
# pane movement | |
bind-key j command-prompt -p "join pane from:" "join-pane -s '%%'" | |
bind-key s command-prompt -p "send pane to:" "join-pane -t '%%'" |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
Sublime Text 2 ships with a CLI called subl (why not "sublime", go figure). This utility is hidden in the following folder (assuming you installed Sublime in /Applications
like normal folk. If this following line opens Sublime Text for you, then bingo, you're ready.
open /Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl
You can find more (official) details about subl here: http://www.sublimetext.com/docs/2/osx_command_line.html