mirror of
https://github.com/dcarrillo/prezto.git
synced 2024-12-22 06:58:01 +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"]
|
||||
path = modules/prompt/external/pure
|
||||
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.
|
||||
pmodload 'editor'
|
||||
|
||||
# Return if requirements are not found.
|
||||
if (( ! $+commands[fasd] )); then
|
||||
return 1
|
||||
fi
|
||||
# Source module file.
|
||||
source "${0:h}/external/fasd" || return 1
|
||||
|
||||
#
|
||||
# Initialization
|
||||
|
Loading…
Reference in New Issue
Block a user