Extend the replacement rules of *.alias files
Created by: dreadworks
Currently commands like
t a do not work correctly because the specified rule
t a  : tmux attach -t  is not able to handle the case that
 might not be set. It should be possible to extend the syntax of the rules in a way where additional information can be enclosed in the replacement rule.
t a  : tmux attach [-t 0] yields
tmux attach for
t a and
tmux attach -t foo for
t a foo.
The replacement regex would look something like this: