]> git.netwichtig.de Git - user/henk/vcsh/zsh.git/blobdiff - .zshrc
add some more functions and zle widgets
[user/henk/vcsh/zsh.git] / .zshrc
diff --git a/.zshrc b/.zshrc
index 24597869ae82b3d4cafc24fe00635c06b1f2c3d4..320fc5747dbd805af0ce274362157509ba983467 100644 (file)
--- a/.zshrc
+++ b/.zshrc
@@ -129,9 +129,18 @@ autoload ~/.zsh_functions/[^_]*(-.:t)
 
 
 autoload -Uz vcs_info
-autoload -Uz zcalc
-autoload -Uz zargs
+zstyle ':vcs_info:*' enable git
 
+# similar to xargs
+autoload -U zargs
+
+# similar to rename or mmv
+autoload -U zmv
+autoload -U zln
+autoload -U zcp
+
+
+# zle customization
 
 # spawn editor on current command line
 autoload -Uz edit-command-line
@@ -139,6 +148,11 @@ zle -N edit-command-line
 bindkey -M vicmd '^X^E' edit-command-line
 bindkey -M viins '^X^E' edit-command-line
 
+# show globbing results live
+autoload insert-files
+zle -N insert-files
+bindkey '^Xf' insert-files
+
 
 #this mainly sets vars, binds keys, does zle stuff
 # zinit load 'https://github.com/laurenkt/zsh-vimto'