Recall your previous argument in bash

For this use Esc+.

Example:
create a directory structure

cd
mkdir -p test/example1/config
Type cd and then press Esc+. - your last argument will be autocompleted