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
# Basic Settings | |
# windowTitleSCM can also be used and will display the current scm branch if an SCM is in use | |
# for the current project. | |
#windowTitle = "$TM_DISPLAYNAME — ${TM_DIRECTORY/^.*\///}" | |
windowTitle = "$TM_DISPLAYNAME${TM_DIRECTORY/\A(?:\/Users\/curt\/dev\/(?=\b(?:roc|projects|playground)\b)\w+\/?(.*)|(.+))\z/${2:? – ${2/\/Users\/curt/~/}:${1/\A(?=.)/ – /}}/}" | |
# projectDirectory = "$CWD" | |
fontName = "consolas" |
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
#!/usr/bin/env ruby | |
# | |
# Scala alignment command. | |
# | |
# This script will attempt to align lines of scala code around one of the following | |
# symbols: | |
# case symbol: => | |
# assignment: = | |
# right arrow: -> | |
# left arrow: <- |
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
# Place this at the top of your script. | |
# The exit $? causes the shell to exit with the | |
# status of the script instance that is run with sudo. | |
if [[ $UID -ne 0 ]]; then | |
sudo -p "Restarting as root, password for %p: " bash $0 "$@" | |
exit $? | |
fi |
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
#!/usr/bin/env ruby -wKU | |
# Save: Nothing | |
# Input: Document | |
# Output: Replace Input | |
# Caret Placement: Line Interpolation | |
COCOA_DIALOG_COMMAND = "#{ENV["TM_SUPPORT_PATH"]}/bin/CocoaDialog.app/Contents/MacOS/CocoaDialog" |