Under Terminal > Preferences... > (Profile) > Advanced, "Declare terminal as:" should be set to xterm-256color
.
This is easy with homebrew:
brew install screen
Under Terminal > Preferences... > (Profile) > Advanced, "Declare terminal as:" should be set to xterm-256color
.
This is easy with homebrew:
brew install screen
#!/bin/sh | |
# Compile a list of changed files | |
FILES=`git diff --name-only HEAD^` | |
# Attempt to fix whitespace issues | |
for FILE in `egrep -l '(\s$| {1,3}\t)' $FILES` | |
do | |
# Remove trailing whitespace | |
(sed -i 's/[ ]*$//' $FILE > /dev/null 2>&1 || sed -i '' -E 's/[ ]*$//' $FILE) |