Permalink
Browse files

move some functions into dotto_core plugin, and load by default

  • Loading branch information...
1 parent 83d4fe2 commit d5667aacb5289d8317df5bf1a0a625e2d1f0f83d @rsanders committed Feb 15, 2012
View
@@ -50,6 +50,9 @@ function () {
setopt function_argzero typeset_silent
+ # default plugins
+ dotto_zsh_plugins+=(dotto_core)
+
# arrays we use for hook-like purposes
for _zsysname in zprofile zshrc zcomp zperiodic zlogin zlogout newshell
do
View
@@ -32,6 +32,10 @@
dotto_vars[need_compinit]=1
fi
+ if [[ -d $dir/widgets ]]; then
+ dotto~add_widgets_dir $dir/widgets
+ fi
+
if [[ -r $dir/init.zsh ]]; then source $dir/init.zsh; fi
local isomz=0
@@ -4,6 +4,7 @@
# Find a function definition in the FPATH
#
+function _zwc_contains {
emulate -L zsh
local file=$1 name= output
local -a lines
@@ -50,3 +51,6 @@ function zalwhich {
echo "$fname not found."
return 1
+}
+
+zalwhich "$@"
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -1 +0,0 @@
-echo "dottocore plugin loaded"

0 comments on commit d5667aa

Please sign in to comment.