]> git.alrj.org Git - zsh.d.git/commitdiff
Merge branch 'master' of git+ssh://syrtis.alrj.org/srv/git/zsh.d
authorAmand Tihon <amand.tihon@iba-group.com>
Fri, 24 Aug 2012 13:10:16 +0000 (15:10 +0200)
committerAmand Tihon <amand.tihon@iba-group.com>
Fri, 24 Aug 2012 13:10:16 +0000 (15:10 +0200)
S10_zshopts
S51_functions [new file with mode: 0644]
S52_scm_breeze [new file with mode: 0644]

index 36840e29ade5b8684025cf0347ad0f131597cf8e..b722e4cbe0b2d4568a1461136ba3420dcb36b446 100644 (file)
@@ -13,12 +13,15 @@ autoload -U colors
 colors
 setopt prompt_subst
 
+autoload -U zargs
+
 typeset -ga preexec_functions
 typeset -ga precmd_functions
 typeset -ga chpwd_functions
 
 # use emacs bindings
 bindkey -e
+bindkey '\e[1~' beginning-of-line
 
 [ -w $zsh_cache ] && HISTFILE=$zsh_cache/history
 
diff --git a/S51_functions b/S51_functions
new file mode 100644 (file)
index 0000000..3452fdc
--- /dev/null
@@ -0,0 +1,6 @@
+#! /usr/bin/zsh
+
+du_by() {
+  find . -iname $1 -print0 | du --files0-from=- -hc | tail -n 1
+}
+
diff --git a/S52_scm_breeze b/S52_scm_breeze
new file mode 100644 (file)
index 0000000..6117e46
--- /dev/null
@@ -0,0 +1,3 @@
+#! /usr/bin/zsh
+
+[ -s "$HOME/.scm_breeze/scm_breeze.sh" ] && . "$HOME/.scm_breeze/scm_breeze.sh"