Add fasd as an external module

This commit is contained in:
Demjan Kaluzki 2015-11-12 23:08:47 +01:00 committed by Kaleb Elwert
parent d25b251ef7
commit 19990c8025
3 changed files with 6 additions and 4 deletions

3
.gitmodules vendored
View File

@ -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

@ -0,0 +1 @@
Subproject commit 90b531a5daaa545c74c7d98974b54cbdb92659fc

View File

@ -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