Skip to content

Instantly share code, notes, and snippets.

View jyurek's full-sized avatar

Jon Yurek jyurek

View GitHub Profile
@jyurek
jyurek / lt
Created October 7, 2013 14:53
Useful command for getting large type
#!/usr/bin/osascript
on run argv
set display_string to (item 1 of argv)
tell application "Quicksilver" to show large type display_string
end run
@jyurek
jyurek / tm.sh
Last active February 12, 2024 10:37
Create and switch sessions in tmux quickly
#!/bin/sh
tm() {
if [ -z $1 ]; then
tmux switch-client -l
else
if [ -z "$TMUX" ]; then
tmux new-session -As $1
else
if ! tmux has-session -t $1 2>/dev/null; then
TMUX= tmux new-session -ds $1