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
fizz = function f() { | |
fizz = function () { | |
fizz = function () { | |
fizz = f | |
return "Fizz" | |
} | |
} | |
} | |
buzz = function f() { |
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
#!/bin/bash | |
# attach to an existing tmux session, or create one if none exist | |
# also set up access to the system clipboard from within tmux when possible | |
if [[ $OSTYPE == darwin* && -x $(command -v reattach-to-user-namespace) ]]; then | |
# on OS X force tmux's default command to spawn a shell in the user's namespace | |
# https://github.com/ChrisJohnsen/tmux-MacOSX-pasteboard | |
tweaked_config=$(cat $HOME/.tmux.conf <(echo 'set-option -g default-command "reattach-to-user-namespace -l $SHELL"')) |
NewerOlder