basic module support

This commit is contained in:
Nicole O'Connor 2020-06-23 21:51:10 -07:00
parent b3cd443ee4
commit 5ee8d2e344
2 changed files with 9 additions and 0 deletions

3
modules/ssh.zsh Normal file
View File

@ -0,0 +1,3 @@
function zle-accept-line-with-ssh () {
echo "stub"
}

View File

@ -7,4 +7,10 @@ PROMPT="%{$fg_bold[cyan]%}%n%{$fg_bold[white]%}@%{$fg_bold[magenta]%}%m %{$fg_bo
source ~/.local/share/zeesh/base/precmd.zsh
source ~/.local/share/zeesh/base/updates.zsh
# TODO: handle whether or not to load given modules]
for module in ~/.local/share/zeesh/modules/*.zsh; do
ticker_message "zeesh: loading module ${module}"
source ${module}
done
ticker_finish