I want to open new terminal window in current location by simple command in Ubuntu
gnome-terminal --working-directory=`pwd` & disown
Work's nice for me. But when I put alias to bashrc
alias clone="gnome-terminal --working-directory=`pwd` & disown "
pwd Calculated at start. So i get something like.
$ type clone clone is aliased to `gnome-terminal --working-directory=/home/user & disown '
Is it possible make
pwd calculate only when i call alias. Or I need to write bash function except alias?