From 8fa536e33a47986ae56cd4cf499e579518423348 Mon Sep 17 00:00:00 2001 From: Pierre Habouzit Date: Mon, 1 Jun 2009 14:59:35 +0200 Subject: [PATCH] add opannotate-asm, remove old completion stuff Signed-off-by: Pierre Habouzit --- config/zsh/40_completion | 16 ++-------------- config/zsh/50_aliases | 1 + 2 files changed, 3 insertions(+), 14 deletions(-) diff --git a/config/zsh/40_completion b/config/zsh/40_completion index 8483231..c71d80c 100644 --- a/config/zsh/40_completion +++ b/config/zsh/40_completion @@ -1,5 +1,7 @@ #! /bin/zsh +zstyle ':completion:*' use-cache on +zstyle ':completion:*' cache-path ~/.cache/zsh/ zstyle ':completion:*' add-space true zstyle ':completion:*' completer _expand _complete _match _prefix _approximate _list zstyle ':completion:*' menu select=1 @@ -25,19 +27,5 @@ zstyle ':completion:*:*:kill:*:processes' list-colors '=(#b) #([0-9]#)[ 0-9:]#([ #[ hosts and users ]############################################################ zstyle ':completion:*:hosts' list-colors '=(#b)(*)(.madism.org)=01;30=01;31' '=[^.]#=01;31' -users=(root sab madcoder x2000habouzit habouzit) -zstyle ':completion:*' users $users - -zstyle ':completion:*:*:[ak]dvi:*' file-patterns \ - '*.dvi:dvi-files:DVI\ files *(-/):directories:Directories' '*:all-files' -zstyle ':completion:*:*:kghostview:*' file-patterns \ - '*.(ps|pdf)(|.gz|.bz2):pspdf-files:PostScript\ or\ PDF\ files *(-/):directories:Directories' '*:all-files' -zstyle ':completion:*:*:swfplayer:*' file-patterns \ - '*.swf:swf-files:Swf\ files *(-/):directories:Directories' '*:all-files' - zstyle ':completion:*' file-patterns \ '%p:globbed-files: *(-/):directories:Directories' '*:all-files' - -#[ ignores for vim ]############################################################ - -zstyle ':completion:*:*:vi(m|):*:*files' ignored-patterns '*?.(aux|dvi|ps|pdf|bbl|toc|lot|lof|o|cm?)' diff --git a/config/zsh/50_aliases b/config/zsh/50_aliases index e829180..48a9396 100644 --- a/config/zsh/50_aliases +++ b/config/zsh/50_aliases @@ -33,6 +33,7 @@ alias rm='rm -i' alias s2disk='sudo s2disk' alias s2both='sudo s2both' alias s2ram='sudo s2ram' +alias opannotate-asm='opannotate -a --objdump-params -S' alias v=vim alias m=madmutt -- 2.20.1