mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-06-05 05:03:16 +02:00
Merge 8430d076e5 into 0cec462621
This commit is contained in:
commit
80721d3a57
1 changed files with 20 additions and 0 deletions
20
plugins/cdi/cdi.plugin.zsh
Normal file
20
plugins/cdi/cdi.plugin.zsh
Normal file
|
|
@ -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 <jezz@sysmic.org>
|
||||||
|
#
|
||||||
|
# "Change Directory Interactive"
|
||||||
|
#
|
||||||
|
# Allow to change directory by editing current working directory path.
|
||||||
|
#
|
||||||
|
|
||||||
|
cdi() {
|
||||||
|
local _TMP=$PWD
|
||||||
|
vared _TMP
|
||||||
|
cd $_TMP
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue