From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.5 Message-ID: <50E38D2D.8080004@kemsu.ru> Date: Wed, 02 Jan 2013 07:28:13 +0600 From: REAL User-Agent: Mozilla/5.0 (X11; Linux i686; rv:10.0.8) Gecko/20121012 Thunderbird/10.0.8 MIME-Version: 1.0 To: ALT Linux Sisyphus discussions References: <20121226194840.GF14880@osdn.org.ua> <20121226210724.GG14880@osdn.org.ua> <20121227093227.GA29163@mw.mithraen.ru> <50E2E5C7.8010406@kemsu.ru> <20130101223849.GA12065@mw.mithraen.ru> In-Reply-To: <20130101223849.GA12065@mw.mithraen.ru> Content-Type: multipart/mixed; boundary="------------020302060005000102000301" Subject: Re: [sisyphus] =?koi8-r?b?W0pUXSBSZTog8MXSxcXaxCDOwSA2NMLJ1ME=?= X-BeenThere: sisyphus@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Sisyphus discussions List-Id: ALT Linux Sisyphus discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jan 2013 00:27:46 -0000 Archived-At: List-Archive: List-Post: This is a multi-part message in MIME format. --------------020302060005000102000301 Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 8bit 02.01.2013 04:38, Денис Смирнов пишет: > Главная причина -- привычка видеть перед собой список файлов. всякие алиасы... у меня вот есть la = ls -A - так он сам давно лзет под пальцы при входе в незнакомый каталог. > Думаю тут дело _и_ в умении использовать completion и прочие радости думаю, дело не в правильности использования, а настроек. побегай с пару часиков с моими (в аттаче). прочие же радости - это хэши и большая-большая память на использование команд и каталогов. , и > еще и в наверняка слегка иной структуре организации данных в домашнике. а это уже дело не первой важности. -- REAL aka Евгений Ростовцев, программист ЦНИТ КемГУ --------------020302060005000102000301 Content-Type: text/plain; name=".zshrc" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=".zshrc" # # .zshrc is sourced in interactive shells. # It should contain commands to set up aliases, # functions, options, key bindings, etc. # source /etc/profile autoload -U compinit compinit autoload -U predict-on predict-on zle -N predict-on zle -N predict-off autoload -U zcalc autoload -U tetris zle -N tetris autoload -Uz ztodo chpwd() { ztodo } zmodload zsh/complist zmodload -a zsh/stat stat zmodload -a zsh/zpty zpty zmodload -a zsh/zprof zprof zmodload -ap zsh/mapfile mapfile setopt menucomplete zstyle ':completion:*' menu yes select zstyle ':completion:*:default' list-colors ${(s.:.)LS_COLORS} zstyle ':completion:*:processes' command 'ps -xuf' zstyle ':completion:*:processes' sort false zstyle ':completion:*:processes-names' command 'ps xho command' setopt autocd #allow tab completion in the middle of a word setopt COMPLETE_IN_WORD ## keep background processes at full speed #setopt NOBGNICE ## restart running processes on exit #setopt HUP ## history HISTFILE=~/.zhistory HISTSIZE=1024 SAVEHIST=1024 setopt APPEND_HISTORY ## for sharing history between zsh processes setopt INC_APPEND_HISTORY setopt HIST_IGNORE_ALL_DUPS setopt SHARE_HISTORY setopt HIST_IGNORE_SPACE setopt HIST_REDUCE_BLANKS setopt extendedglob DIRSTACKSIZE=20 ## never ever beep ever #setopt NO_BEEP ## automatically decide when to page a list of completions #LISTMAX=0 ## disable mail checking MAILCHECK=0 autoload -U colors colors bindkey -v bindkey "\e[1~" beginning-of-line bindkey "\e[2~" transpose-words bindkey "\e[3~" delete-char bindkey "\e[4~" end-of-line bindkey "^[[5~" up-line-or-history bindkey "^[[6~" down-line-or-history bindkey "^[[7~" beginning-of-line bindkey "^[[8~" end-of-line bindkey "\eOH" beginning-of-line bindkey "\eOF" end-of-line bindkey "\e[H" beginning-of-line bindkey "\e[F" end-of-line bindkey "^X^X" predict-on bindkey "^X^Z" predict-off bindkey "^T" tetris alias -g h=' --help|less' alias -s pdf=evince alias -s avi=mplayer alias -s htm=view_html alias -s html=view_html alias -s jpg=view_img alias -s jpeg=view_img alias -s gif=view_img alias -s png=view_img alias -s mp3=xmms alias -s flac=xmms alias -s djvu=djview alias -s ps=evince alias -s gz=view_gz alias -s bz2=view_bz2 alias -s exe=wine alias -s odb=oo alias -s odt=oo alias -s odp=oo alias -s doc=oo alias -s xls=oo alias -s xml=ff alias -s iso=showiso alias -s fb2=FBReader alias ipt="sudo vim /etc/sysconfig/iptables && sudo /etc/init.d/iptables restart" alias m=mplayer alias v=vim alias la='ls -A' alias ll='ls -lh' alias lla='ls -A -lh' alias lal='ls -A |less' alias llal='ls -A -lh |less' alias mc='bash -c "mc -c"' alias xterm_='xterm -bg black -fg gray60 /bin/bash' alias xterm='xterm_ &' alias df='df -h' alias init='sudo init' alias ii='sudo init 3' alias i5='sudo init 5' alias e='killall -TERM fluxbox' alias K='killp' #alias a=$1 hash -d my=/opt/._ hash -d fl=/media/usbdisk hash -d u=/media/usbfat hash -d h=/media/usbdisk/2home hash -d i=/etc/init.d hash -d tc=/mnt/iais/tomcat hash -d w=/mnt/iais/tomcat/webapps.iais hash -d dekanat=/mnt/iais/tomcat/webapps.iais/dekanat PS1=$(echo '%{\033[36m%}%~>%{\033[37m%} ') RPS1=$(echo '%{\033[36m%}')\$$HOSTNAME/$WINDOW$(echo '%{\033[37m%} ') precmd() { print -Pn "\033]0;%/\a" } EDITOR=vim #PLAN9=/opt/._/dst/wmii-3.6/plan9 if [ "$MANPATH" = "" ]; then MANPATH=/opt/local/share/man else MANPATH=/opt/local/share/man:$MANPATH fi PATH=$HOME/bin:/opt/bin:/opt/local/bin:$PATH:/sbin:/usr/sbin:/usr/local/sbin --------------020302060005000102000301--