Forgive me; I'm pretty new to bash files and the like. Here is a copy of my .bashrc:
alias k='kate 2>/dev/null 1>&2 & disown'
function kk {kate 2>/dev/null 1>&2 & disown}
The alias in the first line works fine, but the second line throws:
bash: /home/mozershmozer/.bashrc: line 3: syntax error near unexpected token `{kate'
bash: /home/mozershmozer/.bashrc: line 3: `function kk {kate 2>/dev/null >1>&2 & disown}'
I'm running Linux Mint 17.3 and those are the only two lines in my .bashrc file. Pretty much everything else on my machine is default vanilla. Ultimately I want to play around with the function to get it to do some specific things, but I hit the syntax wall immediately. The exact function I have listed here is just a sort of experimental dummy to allow me to learn the syntax more clearly.