diff --git a/plugins/cdi/cdi.plugin.zsh b/plugins/cdi/cdi.plugin.zsh new file mode 100644 index 000000000..f76e577ef --- /dev/null +++ b/plugins/cdi/cdi.plugin.zsh @@ -0,0 +1,20 @@ +# vim: set sw=4 expandtab: +# +# Licence: GPL +# Created: 2016-09-27 14:41:53+02:00 +# Main authors: +# - Jérôme Pouiller +# +# "Change Directory Interactive" +# +# Allow to change directory by editing current working directory path. +# + +cdi() { + local _TMP=$PWD + vared _TMP + cd $_TMP +} + + +