I have added the function gvim(){ /usr/bin/gvim -f "$@" & true; } to my .bashrc file.
but I still have a problem.
I open file 111 with gvim and close it and
a warning like [10]+ ... /usr/bin/gvim -f $*"? is displayed in my terminal.
How do I remove it ?
|
|
||||
|
|
|
You have backgrounded the program by using the ampersand ( cd to your home folder and edit your
Your function should look like this:
(If you wish your files to each open in tabs you could add the Now you must source your
You can call your function by whatever its name is and place two text files in the
|
||||
|
|
|
I'm not sure why you're running
You could also use the function:
These two ways are equivalent. As to the name of your function or alias, I don't quite agree with Mik. If you plan to normally call gvim in the way you mentioned, I see no harm in doing what you're doing. If you ever need the default behavior, you can easily use the |
|||
|
|