Skip to content

Instantly share code, notes, and snippets.

@pprince
Created March 30, 2016 05:16
Show Gist options
  • Save pprince/224e076b03b1d42bcc6be07cdc72c377 to your computer and use it in GitHub Desktop.
Save pprince/224e076b03b1d42bcc6be07cdc72c377 to your computer and use it in GitHub Desktop.
#!/usr/bin/env sh
t=urxvtcd
if [ $# -eq 1 ]; then
"$t" -e "$1"
else
"$t" "$@"
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment