In Bash, you can press Alt
-.
to insert the last argument of the previous command. If you press it multiple times, it cycles through the last arguments of all of the commands in your history. However, sometimes I press it too many times, and I want to reverse the direction of the cycling, hence go forwards. Is this possible?
(i.e. if you reverse-i-search with Ctrl
-r
, you can change directions with Ctrl
-s
. What is the analogue for Alt
-.
?)