mirror of
https://github.com/dcarrillo/prezto.git
synced 2025-06-14 08:41:43 +00:00
[#149] Move compdef calls into their own files
This commit is contained in:
12
modules/utility/functions/_cdls_popdls_pushdls
Normal file
12
modules/utility/functions/_cdls_popdls_pushdls
Normal file
@ -0,0 +1,12 @@
|
||||
#compdef cdls popdls pushdls
|
||||
#autoload
|
||||
|
||||
#
|
||||
# Completes cdls, popdls, and pushdls.
|
||||
#
|
||||
# Authors:
|
||||
# Sorin Ionescu <sorin.ionescu@gmail.com>
|
||||
#
|
||||
|
||||
_cd
|
||||
|
14
modules/utility/functions/_mkdcd
Normal file
14
modules/utility/functions/_mkdcd
Normal file
@ -0,0 +1,14 @@
|
||||
#compdef mkdcd
|
||||
#autoload
|
||||
|
||||
#
|
||||
# Completes mkdcd.
|
||||
#
|
||||
# Authors:
|
||||
# Sorin Ionescu <sorin.ionescu@gmail.com>
|
||||
#
|
||||
|
||||
_wanted directories expl \
|
||||
'parent directory (alternatively specify name of directory)' \
|
||||
_path_files -/ || _message 'name of directory'
|
||||
|
Reference in New Issue
Block a user