From: Amand Tihon Date: Fri, 24 Aug 2012 13:10:16 +0000 (+0200) Subject: Merge branch 'master' of git+ssh://syrtis.alrj.org/srv/git/zsh.d X-Git-Url: https://git.alrj.org/?p=zsh.d.git;a=commitdiff_plain;h=4580f8f75eb2516256e46ffb334cfb55e72bb851;hp=7e9e705186e82c7dd4b000c961ac2dd76871fc80 Merge branch 'master' of git+ssh://syrtis.alrj.org/srv/git/zsh.d --- diff --git a/S10_zshopts b/S10_zshopts index 36840e2..b722e4c 100644 --- a/S10_zshopts +++ b/S10_zshopts @@ -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 index 0000000..3452fdc --- /dev/null +++ b/S51_functions @@ -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 index 0000000..6117e46 --- /dev/null +++ b/S52_scm_breeze @@ -0,0 +1,3 @@ +#! /usr/bin/zsh + +[ -s "$HOME/.scm_breeze/scm_breeze.sh" ] && . "$HOME/.scm_breeze/scm_breeze.sh"