mirror of
https://github.com/dcarrillo/prezto.git
synced 2024-12-22 16:18:00 +00:00
Add fasd as an external module
This commit is contained in:
parent
d25b251ef7
commit
19990c8025
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -19,3 +19,6 @@
|
|||||||
[submodule "modules/prompt/functions/pure"]
|
[submodule "modules/prompt/functions/pure"]
|
||||||
path = modules/prompt/external/pure
|
path = modules/prompt/external/pure
|
||||||
url = https://github.com/sindresorhus/pure.git
|
url = https://github.com/sindresorhus/pure.git
|
||||||
|
[submodule "modules/fasd/external"]
|
||||||
|
path = modules/fasd/external
|
||||||
|
url = https://github.com/clvv/fasd
|
||||||
|
1
modules/fasd/external
Submodule
1
modules/fasd/external
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit 90b531a5daaa545c74c7d98974b54cbdb92659fc
|
@ -9,10 +9,8 @@
|
|||||||
# Load dependencies.
|
# Load dependencies.
|
||||||
pmodload 'editor'
|
pmodload 'editor'
|
||||||
|
|
||||||
# Return if requirements are not found.
|
# Source module file.
|
||||||
if (( ! $+commands[fasd] )); then
|
source "${0:h}/external/fasd" || return 1
|
||||||
return 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Initialization
|
# Initialization
|
||||||
|
Loading…
Reference in New Issue
Block a user