# alias stitle 'set title=\!*; echo -n "\033]0;${title}\007"'
alias stitle 'echo -n "\033]0;\!:1\007"'
Additional notes:
!!
is the whole command line !*
is all the arguments of the command !:1
is the first argument of the command !:2
is the second argument of the command (, and so forth) !$
is the last argument of the command
沒有留言:
張貼留言