- Nov 7, 2015
I am slowly switching from Windows to Linux where I am using zsh. It is very easy to define a line-editing feature there so that I can replace the first argument of the preceding command with something different (ie I typed "dir \a\a.txt \b\.txt c\" and then want to change "dir" to "copy"). How can I achieve that in tcc? The nearest I have come so far is typing "copy <ctrl-1><ctrl-2><ctrl-3>". But that is rather cumbersome. Perhaps a ctrl-SOMETHING that copies the complete previous command line w/o its first argument.