This commit is contained in:
Carlo Sala 2024-02-29 19:04:22 +01:00
commit eb247891d6
No known key found for this signature in database
GPG key ID: DA6FB450C1A4FE9A

View file

@ -49,7 +49,7 @@ fi
# ALIASES
function _build_tmux_alias {
eval "function $1 {
if [[ \${1::1} == '-' ]]; then
if [[ -z \$1 ]] || [[ \${1::1} == '-' ]]; then
tmux $2 \"\$@\"
else
tmux $2 $3 \"\$@\"