]> git.alrj.org Git - zsh.d.git/commitdiff
[scm_breeze] Use scm_breeze if available.
authorAmand Tihon <amand.tihon@iba-group.com>
Fri, 4 Nov 2011 14:24:55 +0000 (15:24 +0100)
committerAmand Tihon <amand.tihon@iba-group.com>
Fri, 4 Nov 2011 14:24:55 +0000 (15:24 +0100)
Also, add a binding that will match the code sent by scm_breeze for faking HOME key.

S10_zshopts
S52_scm_breeze [new file with mode: 0644]

index a8f79c3a5b66771a29fcc3b1eb9409950ab5e265..b722e4cbe0b2d4568a1461136ba3420dcb36b446 100644 (file)
@@ -21,6 +21,7 @@ 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/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"