#!/usr/bin/env bash if [[ $1 == http* ]]; then printf "\033]1337;SetUserVar=open_url=%s\007" "$(echo -n "$1" | base64)" fi