From: REAL <real@kemsu.ru>
To: ALT Linux Sisyphus discussions <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] [JT] Re: Переезд на 64бита
Date: Wed, 02 Jan 2013 07:28:13 +0600
Message-ID: <50E38D2D.8080004@kemsu.ru> (raw)
In-Reply-To: <20130101223849.GA12065@mw.mithraen.ru>
[-- Attachment #1: Type: text/plain, Size: 655 bytes --]
02.01.2013 04:38, Денис Смирнов пишет:
> Главная причина -- привычка видеть перед собой список файлов.
всякие алиасы... у меня вот есть la = ls -A - так он сам давно лзет
под пальцы при входе в незнакомый каталог.
> Думаю тут дело _и_ в умении использовать completion и прочие радости
думаю, дело не в правильности использования, а настроек. побегай с
пару часиков с моими (в аттаче).
прочие же радости - это хэши и большая-большая память на использование
команд и каталогов.
, и
> еще и в наверняка слегка иной структуре организации данных в домашнике.
а это уже дело не первой важности.
--
REAL aka Евгений Ростовцев, программист ЦНИТ КемГУ
[-- Attachment #2: .zshrc --]
[-- Type: text/plain, Size: 3465 bytes --]
#
# .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
next prev parent reply other threads:[~2013-01-02 1:28 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-26 16:38 [sisyphus] " Alexei V. Mezin
2012-12-26 17:01 ` Viacheslav Dubrovskyi
2012-12-27 6:22 ` Андрей Черепанов
2012-12-27 7:04 ` Dubrovskiy Viacheslav
2012-12-27 7:07 ` Андрей Черепанов
2012-12-27 9:45 ` Dubrovskiy Viacheslav
2012-12-26 18:45 ` Sergey
2012-12-26 19:48 ` Michael Shigorin
2012-12-26 21:04 ` [sisyphus] [JT] " Alexei V. Mezin
2012-12-26 21:07 ` Michael Shigorin
2012-12-27 9:32 ` Денис Смирнов
2013-01-01 13:33 ` REAL
2013-01-01 22:38 ` Денис Смирнов
2013-01-02 1:28 ` REAL [this message]
2013-01-02 2:30 ` REAL
2013-01-03 10:21 ` Денис Смирнов
2013-01-04 8:27 ` REAL
2013-01-04 14:54 ` Денис Смирнов
2013-01-04 16:03 ` REAL
2013-01-04 16:44 ` Денис Смирнов
2013-01-04 16:07 ` REAL
2013-01-04 16:41 ` Денис Смирнов
2013-01-04 17:07 ` Ivan A. Melnikov
2013-01-05 9:27 ` Денис Смирнов
2013-01-04 9:48 ` Michael A. Kangin
2013-01-02 18:09 ` [sisyphus] [JT] " Michael Shigorin
2013-01-03 7:52 ` [sisyphus] [JT] " Ildar Mulyukov
2013-01-03 10:02 ` Денис Смирнов
2013-01-03 8:17 ` Igor Zubkov
2013-01-03 9:35 ` REAL
2013-01-03 14:48 ` Igor Zubkov
2013-01-04 2:05 ` REAL
2013-01-04 20:42 ` Денис Смирнов
2013-01-03 10:06 ` Денис Смирнов
2012-12-27 7:05 ` [sisyphus] " Sergei Epiphanov
2013-01-01 16:00 ` Michael A. Kangin
2013-01-02 18:12 ` [sisyphus] [JT] " Michael Shigorin
2013-01-02 18:35 ` Michael A. Kangin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=50E38D2D.8080004@kemsu.ru \
--to=real@kemsu.ru \
--cc=sisyphus@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Sisyphus discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
public-inbox-index sisyphus
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sisyphus
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git