summaryrefslogtreecommitdiff
path: root/bin/tf
diff options
context:
space:
mode:
authorMarc Vertes <mvertes@free.fr>2025-01-15 11:44:13 +0100
committerMarc Vertes <mvertes@free.fr>2025-01-15 11:44:13 +0100
commit307df21222316d35f32e1597824283797aa6a74c (patch)
treebf6a73f1be8f76cfcb95cde4e48a8ada9ff6bce4 /bin/tf
parent137fd617030c85e9eef6858d9d5cd63cdc306ff6 (diff)
update
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