The -o option allows one to choose an "old" path (one from history). Hence it should be followed by a string to choose, so this is expected (when looking for "stuff" in history)
$ kd -o stuff
And this should be an error:
$ kd -o
In practice the latter actually uses $HOME, which is often in the history, so it goes home. It should be an error
The -o option allows one to choose an "old" path (one from history). Hence it should be followed by a string to choose, so this is expected (when looking for "stuff" in history)
And this should be an error:
In practice the latter actually uses $HOME, which is often in the history, so it goes home. It should be an error