Traza: • bernabe_garcia • blog • los_chinos_me_descubrieron • osm • start • proyectos • rgs_1 • cv • me_caso • mi_zshrc
Mi zshrc
Para que alguien más pueda aprovecharlo, acá va una de mis tantas configuraciones retocadas y retorcidas. Como shell de sistema utilizo zsh, un potente shell escrito en lenguaje C.
A continuación presento mi archovo de configuración, que contiene una base importante del publicado por fcr, y agregados publicados por fbt
HISTFILE=~/.histfile HISTSIZE=1000 SAVEHIST=1000 setopt autocd beep extendedglob nomatch notify nobgnice bindkey -v zstyle :compinstall filename "$HOME/.zshrc" zstyle ':completion:*' completer _complete _expand _list zstyle ':completion:*' expand suffix zstyle ':completion:*' file-sort name zstyle ':completion:*' ignore-parents parent pwd zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS} zstyle ':completion:*' list-prompt '%SAt %p: Hit TAB for more, or the charact to insert%s' zstyle ':completion:*' matcher-list '' 'm:{a-z}={A-Z}' zstyle ':completion:*' max-errors 1 zstyle ':completion:*' menu select=2 zstyle ':completion:*' original true zstyle ':completion:*' preserve-prefix '//[^/]##/' zstyle ':completion:*' select-prompt '%SScrolling active: current selection a p%s' autoload -Uz compinit compinit setopt PROMPT_SUBST PS1='%n@%m:${PWD/$HOME/"~"}%# ' alias ls='ls --color' export RPROMPT="[%t]" export EDITOR="vim" export XMODIFIERS="@im=scim" export GTK_IM_MODULE=scim export QT_IM_MODULE=scim bindkey -M viins '^r' history-incremental-search-backward bindkey -M vicmd '^r' history-incremental-search-backward zstyle ':completion:*:*:kill:*:processes' list-colors "=(#b) #([0-9]#)*=36=31 # Ascii art para el login rojo='\e[1;31m' NC='\e[0m' echo -e "${rojo} _,met\$\$\$\$\$gg."; echo -e " ,g\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$P."; echo -e " ,g\$\$P\"\" \"\"\"Y\$\$.\"."; echo -e " ,\$\$P' \`\$\$\$."; echo -e " ',\$\$P ,ggs. \`\$\$b:"; echo -e " \`d\$\$' ,\$P\"' . \$\$\$"; echo -e " \$\$P d\$' , \$\$P"; echo -e " \$\$: \$\$. - ,d\$\$' "; echo -e " \$\$; Y\$b._ _,d\$P' ${NC} _, _, ,'\`."; echo -e "${rojo} Y\$\$. \`.\`\"Y\$\$\$\$P\"'${NC} \`\$\$' \`\$\$' \`. ,'"; echo -e "${rojo} \`\$\$b \"-.__ ${NC} \$\$ \$\$ \`'"; echo -e "${rojo} \`Y\$\$b ${NC} \$\$ \$\$ _, _"; echo -e "${rojo} \`Y\$\$. ${NC} ,d\$\$\$g\$\$ ,d\$\$\$b. \$\$,d\$\$\$b.\`\$\$' g\$\$\$\$\$b.\`\$\$,d\$\$b."; echo -e "${rojo} \`\$\$b. ${NC} ,\$P' \`\$\$ ,\$P' \`Y\$. \$\$\$' \`\$\$ \$\$ \"' \`\$\$ \$\$\$' \`\$\$"; echo -e "${rojo} \`Y\$\$b. ${NC} \$\$' \$\$ \$\$' \`\$\$ \$\$' \$\$ \$\$ ,ggggg\$\$ \$\$' \$\$"; echo -e "${rojo} \`\"Y\$b._ ${NC} \$\$ \$\$ \$\$ggggg\$\$ \$\$ \$\$ \$\$ ,\$P\" \$\$ \$\$ \$\$"; echo -e "${rojo} \`\"\"\"\" ${NC} \$\$ ,\$\$ \$\$. \$\$ ,\$P \$\$ \$\$' ,\$\$ \$\$ \$\$"; echo -e "${NC} \`\$g. ,\$\$\$ \`\$\$._ _., \$\$ _,g\$P' \$\$ \`\$b. ,\$\$\$ \$\$ \$\$"; echo -e " \`Y\$\$P'\$\$. \`Y\$\$\$\$P',\$\$\$\$P\"' ,\$\$. \`Y\$\$P'\$\$.\$\$. ,\$\$."; echo -e "${rojo}Debian GNU/Linux ${NC}" `cat /etc/debian_version` echo -e '\e[1;31m'; echo " ______ _____ _____ _______"; echo " |_____/ | | | | |"; echo " | \_ |_____| |_____| |"; echo -e '\e[m'; echo "With great power comes great responsibility"
blog/mi_zshrc.txt · Última modificación: 2009/05/26 15:21 (editor externo) · []
-
Opciones
- Conectarse
Discusión