Kevin Bowen :xfce:<p><span class="h-card" translate="no"><a href="https://digitalcourage.social/@mro" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>mro</span></a></span> Neat! Glad you found a solution.</p><p>Question: Shouldn't this be "$(basename "$1")"? That's what works for me.</p><p>Also, if one would want to throw this in their .bashrc or .bash_aliases, you'd just need to wrap another function around it:</p><p><a href="https://fosstodon.org/tags/Xfce" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Xfce</span></a> <a href="https://fosstodon.org/tags/xfce4terminal" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>xfce4terminal</span></a> <a href="https://fosstodon.org/tags/Bash" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Bash</span></a></p>