I would like to have command completion for shell snippets in the org mode, similar to what is available in regular shells. For example, when typing
ls, I would like to cycle (with a keystroke) through shell commands I used before that have
#+BEGIN_SRC shell ls #+END_SRC
Please let me know if that is already implemented, or give directions towards how to implement it.