[bglug] zshrc

Andrea Flori andrea@moltimedia.it
Ven 9 Gen 2004 16:11:33 CET


Che dire ...

Grazie 1000

e a buon rendere !

byebye

Andrea


----- Original Message ----- 
From: "k|b|s" <kbs@bglug.it>
To: "BgLUG" <bglug@lists.linux.it>
Sent: Friday, January 09, 2004 9:27 AM
Subject: [bglug] zshrc


> Per la gioia di chi ieri mi chiedeva il mio .zshrc:
>
> --8<-- CUT HERE --8<-- 
> # ~/.zprofile for k|b|s
>
> # exports
> export EMAIL_ADDR="anonymous@anonymous.net"
> export LANG=it_IT@euro
> # A me piace vedere su che terminale sono:
> export TTYN=`tty | tr -d '[:alpha:]' | tr -d '[=/=]'`
> export NNTPSERVER="localhost"
>
> # Aliases
> alias ls="ls --color"
> alias su="su -"
>
>
> # set a nice prompt
> grey="%{$(echo -n '\e[1;30m')%}"
> red="%{$(echo -n '\e[1;31m')%}"
> green="%{$(echo -n '\e[1;32m')%}"
> yellow="%{$(echo -n '\e[1;33m')%}"
> blue="%{$(echo -n '\e[1;34m')%}"
> magenta="%{$(echo -n '\e[1;35m')%}"
> cyan="%{$(echo -n '\e[1;36m')%}"
> white="%{$(echo -n '\e[1;37m')%}"
> lored="%{$(echo -n '\e[0;31m')%}"
> logreen="%{$(echo -n '\e[0;32m')%}"
> loyellow="%{$(echo -n '\e[0;33m')%}"
> loblue="%{$(echo -n '\e[0;34m')%}"
> lomagenta="%{$(echo -n '\e[0;34m')%}"
> locyan="%{$(echo -n '\e[0;35m')%}"
> lowhite="%{$(echo -n '\e[0;37m')%}"
> export prompt="$yellow($TTYN) $green%n $blue/%.$yellow > $lowhite"
>
>
> # set a typical path
> export
PATH=~/bin:/usr/bin:/usr/local/bin:/bin:/sbin:/usr/sbin:/usr/local/sbin:/usr
/bin/X11
>
> # export some handy variables
> export EDITOR=/usr/bin/vim
> export PAGER=/usr/bin/less
>
>
> # Resetta il terminale
> function myreset () {
>   if [[ $TERM = linux ]] echo -n '\e(K\e[1;2]'
> }
> myreset
>
> # Vediamo files e directory a colori, controlla di avere il file
> eval `dircolors  /etc/DIR_COLORS`
>
> autoload -U compinit
> compinit
>
> # ftp integrato nella shell
> autoload -U zfinit
> zfinit
>
> # color completion
> zmodload -i zsh/complist
> zstyle ':completion:*' list-colors 'di=01;34'
> --8<-- CUT HERE --8<-- 
>
> E a tutti un consiglio, passate a zshell ;)
> ciao
>
>
> -- 
> BOFH Excuse #250:
> Program load too heavy for processor to lift.
> k|b|s ~> mailto `echo ti.gulgb@sbk|'rev'`
>


----------------------------------------------------------------------------
----



-- 
Mailing list info: http://lists.linux.it/listinfo/bglug

BgLUG-biz! - il mercatino del BgLUG:
http://autron.it/mailman/listinfo/bglug-biz_autron.it



Maggiori informazioni sulla lista bglug