存个zshrc
- YeLee
- 论坛版主
- 帖子: 26406
- 注册时间: 2008-08-13 8:48
- 系统: Fundu i64
- 来自: 东海硇州,一双管钥。
- 联系:
存个zshrc
[bash]
# Lines configured by user
#zsh init
[ -d ~/.cache/zsh ] || mkdir -p ~/.cache/zsh
autoload -Uz compinit
compinit -d ~/.cache/zsh/zcompdump
HISTFILE=~/.cache/zsh/zshistory
HISTSIZE=1000
SAVEHIST=$HISTSIZE
PROMPT2='_%F{red}%B>>>%b%f'
PROMPT='%F{green}[%D{%y-%m-%d(%u) %H:%M:%S}] %F{blue}[%~]%F{red}%B>>>%b%f'
export xsessionlog=/tmp/xsessionlog
[[ "$PATH" =~ "$HOME/bin" ]] || export PATH=$PATH:$HOME/bin
#some keys
bindkey -v
bindkey "\ec" push-line-or-edit
bindkey "\e[A" history-beginning-search-backward
bindkey "\e[B" history-beginning-search-forward
bindkey "^J" history-beginning-search-backward
bindkey "^K" history-beginning-search-forward
bindkey "^A" beginning-of-line
bindkey "^E" end-of-line
bindkey "^F" vi-forward-word
bindkey "^B" vi-backward-word
bindkey "^R" clear-screen
bindkey "^L" history-incremental-search-backward
bindkey "^O" history-incremental-pattern-search-forward
bindkey "^P" history-incremental-pattern-search-backward
#some opts
setopt extendedhistory
setopt histignorealldups
setopt histignorespace
setopt correctall
setopt autolist
setopt automenu
setopt menucomplete
setopt extendedglob
#some comps
eval $(dircolors -b)
zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS}
zstyle ':completion:*' verbose yes
zstyle ':completion:*' menu select
zstyle ':completion:*:*:default' force-list always
zstyle ':completion:*' matcher-list '' 'm:{a-zA-Z}={A-Za-z}'
zstyle ':completion:*' completer _complete _ignored _correct _approximate
zstyle ':completion:*:descriptions' format '%U%B%d%b%u'
zstyle ':completion:*:warnings' format '%B%F{red}WARNINGS:%f No matches for %U%F{blue}%d%u.%b'
zstyle ':completion:*' select-prompt '%B%F{red}SELECTED:%f %F{blue}%M%f%b'
zstyle ':completion:*:*:kill:*:processes' list-colors '=(#b) #([0-9]#)*=0=01;34'
zstyle ':completion:*:processes' command 'ps -u$USER o pid,pcpu,size,cmd'
zstyle -e ':completion:*:sudo:*' command-path 'reply=($path /sbin /usr/sbin)'
#some alias
hash -d dl="$HOME/下载"
hash -d doc="$HOME/文档"
hash -d pic="$HOME/图片"
hash -d sft="/mnt/Software"
alias grep='grep --color=auto'
alias ls='ls --color=auto'
alias la='ls -A'
alias ll='ls -l'
alias lc="LC_ALL=C"
alias launchx="startx 1>$xsessionlog 2>$xsessionlog"
# End of lines configured by user
[/bash]
# Lines configured by user
#zsh init
[ -d ~/.cache/zsh ] || mkdir -p ~/.cache/zsh
autoload -Uz compinit
compinit -d ~/.cache/zsh/zcompdump
HISTFILE=~/.cache/zsh/zshistory
HISTSIZE=1000
SAVEHIST=$HISTSIZE
PROMPT2='_%F{red}%B>>>%b%f'
PROMPT='%F{green}[%D{%y-%m-%d(%u) %H:%M:%S}] %F{blue}[%~]%F{red}%B>>>%b%f'
export xsessionlog=/tmp/xsessionlog
[[ "$PATH" =~ "$HOME/bin" ]] || export PATH=$PATH:$HOME/bin
#some keys
bindkey -v
bindkey "\ec" push-line-or-edit
bindkey "\e[A" history-beginning-search-backward
bindkey "\e[B" history-beginning-search-forward
bindkey "^J" history-beginning-search-backward
bindkey "^K" history-beginning-search-forward
bindkey "^A" beginning-of-line
bindkey "^E" end-of-line
bindkey "^F" vi-forward-word
bindkey "^B" vi-backward-word
bindkey "^R" clear-screen
bindkey "^L" history-incremental-search-backward
bindkey "^O" history-incremental-pattern-search-forward
bindkey "^P" history-incremental-pattern-search-backward
#some opts
setopt extendedhistory
setopt histignorealldups
setopt histignorespace
setopt correctall
setopt autolist
setopt automenu
setopt menucomplete
setopt extendedglob
#some comps
eval $(dircolors -b)
zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS}
zstyle ':completion:*' verbose yes
zstyle ':completion:*' menu select
zstyle ':completion:*:*:default' force-list always
zstyle ':completion:*' matcher-list '' 'm:{a-zA-Z}={A-Za-z}'
zstyle ':completion:*' completer _complete _ignored _correct _approximate
zstyle ':completion:*:descriptions' format '%U%B%d%b%u'
zstyle ':completion:*:warnings' format '%B%F{red}WARNINGS:%f No matches for %U%F{blue}%d%u.%b'
zstyle ':completion:*' select-prompt '%B%F{red}SELECTED:%f %F{blue}%M%f%b'
zstyle ':completion:*:*:kill:*:processes' list-colors '=(#b) #([0-9]#)*=0=01;34'
zstyle ':completion:*:processes' command 'ps -u$USER o pid,pcpu,size,cmd'
zstyle -e ':completion:*:sudo:*' command-path 'reply=($path /sbin /usr/sbin)'
#some alias
hash -d dl="$HOME/下载"
hash -d doc="$HOME/文档"
hash -d pic="$HOME/图片"
hash -d sft="/mnt/Software"
alias grep='grep --color=auto'
alias ls='ls --color=auto'
alias la='ls -A'
alias ll='ls -l'
alias lc="LC_ALL=C"
alias launchx="startx 1>$xsessionlog 2>$xsessionlog"
# End of lines configured by user
[/bash]
◎当我站在道德的高度上俯视别人的时候,发现自己是多么渺小。
♥执着但不偏激,反对而不排斥,坚决捍卫矛盾体的存在方式。
★★★天气预报★★★
fcitx-yatable一个可以使用的码表输入法
[教程]几个实例攻克软件编译难关
Gentoo Development Guide
字体相关
♥执着但不偏激,反对而不排斥,坚决捍卫矛盾体的存在方式。
★★★天气预报★★★
fcitx-yatable一个可以使用的码表输入法
[教程]几个实例攻克软件编译难关
Gentoo Development Guide
字体相关
- 月下叹逍遥
- 论坛版主
- 帖子: 33994
- 注册时间: 2010-10-07 14:23
- 系统: Archdows10
- 来自: 某系某星某洲某国某省某市
- 联系:
Re: 再存个东西。
浮生七十今三十,从此凄惶未可知
- SmallV
- 论坛版主
- 帖子: 9017
- 注册时间: 2011-01-26 17:52
- 来自: 万林丛中的一抹浓绿,夹带落日余晖的安祥
- YeLee
- 论坛版主
- 帖子: 26406
- 注册时间: 2008-08-13 8:48
- 系统: Fundu i64
- 来自: 东海硇州,一双管钥。
- 联系:
Re: 再存个东西。
之前在那边存过,还是被大水冲走了,哪里都是一样。
◎当我站在道德的高度上俯视别人的时候,发现自己是多么渺小。
♥执着但不偏激,反对而不排斥,坚决捍卫矛盾体的存在方式。
★★★天气预报★★★
fcitx-yatable一个可以使用的码表输入法
[教程]几个实例攻克软件编译难关
Gentoo Development Guide
字体相关
♥执着但不偏激,反对而不排斥,坚决捍卫矛盾体的存在方式。
★★★天气预报★★★
fcitx-yatable一个可以使用的码表输入法
[教程]几个实例攻克软件编译难关
Gentoo Development Guide
字体相关
-
- 帖子: 22323
- 注册时间: 2010-07-19 21:41
- 系统: OS X
-
- 帖子: 6548
- 注册时间: 2008-10-31 22:12
- 系统: 践兔
- 联系:
- YeLee
- 论坛版主
- 帖子: 26406
- 注册时间: 2008-08-13 8:48
- 系统: Fundu i64
- 来自: 东海硇州,一双管钥。
- 联系:
Re: 再存个东西。
还没弄完的,弄完再移过去。
◎当我站在道德的高度上俯视别人的时候,发现自己是多么渺小。
♥执着但不偏激,反对而不排斥,坚决捍卫矛盾体的存在方式。
★★★天气预报★★★
fcitx-yatable一个可以使用的码表输入法
[教程]几个实例攻克软件编译难关
Gentoo Development Guide
字体相关
♥执着但不偏激,反对而不排斥,坚决捍卫矛盾体的存在方式。
★★★天气预报★★★
fcitx-yatable一个可以使用的码表输入法
[教程]几个实例攻克软件编译难关
Gentoo Development Guide
字体相关
- todienow
- 帖子: 2780
- 注册时间: 2011-01-06 13:14
- 系统: 正在刷新...请耐心等待..
- 来自: 6204
- ljj_jjl2008
- 论坛版主
- 帖子: 14255
- 注册时间: 2007-09-16 8:29
Re: 再存个东西。
技术贴,贴技术。
闻到死太贵, 麦克价更高。 有了笨笨兔, 二者皆可抛。
+ 我的六轮折腾
+ 折腾6轮的结果(对40余种WM的测试和分析,多种DE和WM并存的方案)
+ 折腾的中间成果:可以独立运行的一个Wharf(图标化的启动菜单)
+ 强烈推荐----折腾的终极成果:一个自己开发的DE环境
+ 签名空闲链接位置招租
+ 我的六轮折腾
+ 折腾6轮的结果(对40余种WM的测试和分析,多种DE和WM并存的方案)
+ 折腾的中间成果:可以独立运行的一个Wharf(图标化的启动菜单)
+ 强烈推荐----折腾的终极成果:一个自己开发的DE环境
+ 签名空闲链接位置招租
-
- 帖子: 22323
- 注册时间: 2010-07-19 21:41
- 系统: OS X
- YeLee
- 论坛版主
- 帖子: 26406
- 注册时间: 2008-08-13 8:48
- 系统: Fundu i64
- 来自: 东海硇州,一双管钥。
- 联系:
Re: 再存个东西。
好了,差不多可以拿出来见人了。
◎当我站在道德的高度上俯视别人的时候,发现自己是多么渺小。
♥执着但不偏激,反对而不排斥,坚决捍卫矛盾体的存在方式。
★★★天气预报★★★
fcitx-yatable一个可以使用的码表输入法
[教程]几个实例攻克软件编译难关
Gentoo Development Guide
字体相关
♥执着但不偏激,反对而不排斥,坚决捍卫矛盾体的存在方式。
★★★天气预报★★★
fcitx-yatable一个可以使用的码表输入法
[教程]几个实例攻克软件编译难关
Gentoo Development Guide
字体相关
-
- 帖子: 22323
- 注册时间: 2010-07-19 21:41
- 系统: OS X
- YeLee
- 论坛版主
- 帖子: 26406
- 注册时间: 2008-08-13 8:48
- 系统: Fundu i64
- 来自: 东海硇州,一双管钥。
- 联系:
Re: 再存个东西。
就修改了几个地方而已,不过,感觉已经足够了。jtshs256 写了:还是好简洁……
◎当我站在道德的高度上俯视别人的时候,发现自己是多么渺小。
♥执着但不偏激,反对而不排斥,坚决捍卫矛盾体的存在方式。
★★★天气预报★★★
fcitx-yatable一个可以使用的码表输入法
[教程]几个实例攻克软件编译难关
Gentoo Development Guide
字体相关
♥执着但不偏激,反对而不排斥,坚决捍卫矛盾体的存在方式。
★★★天气预报★★★
fcitx-yatable一个可以使用的码表输入法
[教程]几个实例攻克软件编译难关
Gentoo Development Guide
字体相关
- 月下叹逍遥
- 论坛版主
- 帖子: 33994
- 注册时间: 2010-10-07 14:23
- 系统: Archdows10
- 来自: 某系某星某洲某国某省某市
- 联系:
- YeLee
- 论坛版主
- 帖子: 26406
- 注册时间: 2008-08-13 8:48
- 系统: Fundu i64
- 来自: 东海硇州,一双管钥。
- 联系:
Re: 再存个东西。
南瓜要shi。
◎当我站在道德的高度上俯视别人的时候,发现自己是多么渺小。
♥执着但不偏激,反对而不排斥,坚决捍卫矛盾体的存在方式。
★★★天气预报★★★
fcitx-yatable一个可以使用的码表输入法
[教程]几个实例攻克软件编译难关
Gentoo Development Guide
字体相关
♥执着但不偏激,反对而不排斥,坚决捍卫矛盾体的存在方式。
★★★天气预报★★★
fcitx-yatable一个可以使用的码表输入法
[教程]几个实例攻克软件编译难关
Gentoo Development Guide
字体相关