You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
afaict M-. currently inserts the last word of the last command as defined only by splitting on spaces
it would be nice to have at least a little of the improvement readline provides for this action, e.g. that it should also split on redirect instructions -- if i do
... >file
cat <M-.>
then in bash the second command is cat file, but in ksh, it's cat >file, which is actively harmful, since it wipes file
however, exactly what to change here should be considered carefully, as readline's version is so "enhanced" that it sometimes returns something that i can't figure out the source of
The text was updated successfully, but these errors were encountered:
afaict
M-.
currently inserts the last word of the last command as defined only by splitting on spacesit would be nice to have at least a little of the improvement readline provides for this action, e.g. that it should also split on redirect instructions -- if i do
then in bash the second command is
cat file
, but in ksh, it'scat >file
, which is actively harmful, since it wipesfile
however, exactly what to change here should be considered carefully, as readline's version is so "enhanced" that it sometimes returns something that i can't figure out the source of
The text was updated successfully, but these errors were encountered: