summaryrefslogtreecommitdiff
path: root/bin/tf
diff options
context:
space:
mode:
Diffstat (limited to 'bin/tf')
-rwxr-xr-xbin/tf5
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/tf b/bin/tf
index e0f18bf..a566233 100755
--- a/bin/tf
+++ b/bin/tf
@@ -8,6 +8,7 @@ terminal_font() {
case $1 in
(m|menlo|mono) fn=menlo fs=$2 ;;
(f|fixed|6x13) fn=6x13 fs=13 ;;
+ (s|sf) fn='SF Mono Light' fs=8 ;;
([0-9]*) fs=$1 ;;
(*) fn=$1 fs=$2 ;;
esac
@@ -26,7 +27,7 @@ iterm2_font() {
}
case $TERM_PROGRAM in
- (Apple_Terminal) terminal_font $@ ;;
- (iTerm.app) iterm2_font $@ ;;
+ (Apple_Terminal) terminal_font "$@" ;;
+ (iTerm.app) iterm2_font "$@" ;;
(*) die 'not supported' ;;
esac