I am having a problem with the following:
Alias:
alias gks='gitk --all &; clear; git status'
When I try it I see -
Console Resp:
$ gks
bash: syntax error near unexpected token `;'
It appears to be the job control ('&') for the gitk command, is it possible to integrate this job control into an alias?
&
on its own terminates the first command. See related Use & (ampersand) in single line bash loop – steeldriver Mar 10 '20 at 17:19