Moved some variables to zshenv
This commit is contained in:
parent
3c604de7bb
commit
48955978e9
3 changed files with 26 additions and 20 deletions
|
@ -84,3 +84,4 @@ linkmy Xmodmap .Xmodmap
|
||||||
# ZSH
|
# ZSH
|
||||||
linkmy zshrc .zshrc
|
linkmy zshrc .zshrc
|
||||||
linkmy zsh .zsh
|
linkmy zsh .zsh
|
||||||
|
linkmy zshenv .zshenv
|
||||||
|
|
25
zshenv
Normal file
25
zshenv
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
LESSCMD="less -FXRS"
|
||||||
|
|
||||||
|
export LESS_TERMCAP_mb=$'\e[1;37m'
|
||||||
|
export LESS_TERMCAP_md=$'\e[1;37m'
|
||||||
|
export LESS_TERMCAP_me=$'\e[0m'
|
||||||
|
export LESS_TERMCAP_se=$'\e[0m'
|
||||||
|
export LESS_TERMCAP_so=$'\e[1;47;30m'
|
||||||
|
export LESS_TERMCAP_ue=$'\e[0m'
|
||||||
|
export LESS_TERMCAP_us=$'\e[0;36m'
|
||||||
|
|
||||||
|
export BROWSER=chromium
|
||||||
|
export PAGER=$LESSCMD
|
||||||
|
export CC=clang
|
||||||
|
export CXX=clang
|
||||||
|
|
||||||
|
# Aliases
|
||||||
|
alias alpine="alpine -p ""{imap.gmail.com/ssl/user=tom.willemsen@archlinux.us}remote_pinerc"""
|
||||||
|
alias cower="cower --color=always --target=$HOME/var/aur"
|
||||||
|
alias evolus-pencil="/usr/lib/evolus-pencil-svn/evolus-pencil.sh"
|
||||||
|
alias grep="grep --color=always"
|
||||||
|
alias less=$LESSCMD
|
||||||
|
alias ls="ls -F --color=always"
|
||||||
|
alias mysql="mysql --pager"
|
||||||
|
alias slrn="NNTPSERVER='news.eternal-september.org' slrn"
|
||||||
|
|
20
zshrc
20
zshrc
|
@ -16,17 +16,6 @@ zstyle :compinstall filename '/home/slash/.zshrc'
|
||||||
autoload -Uz compinit
|
autoload -Uz compinit
|
||||||
compinit
|
compinit
|
||||||
|
|
||||||
export LESS_TERMCAP_mb=$'\e[1;37m'
|
|
||||||
export LESS_TERMCAP_md=$'\e[1;37m'
|
|
||||||
export LESS_TERMCAP_me=$'\e[0m'
|
|
||||||
export LESS_TERMCAP_se=$'\e[0m'
|
|
||||||
export LESS_TERMCAP_so=$'\e[1;47;30m'
|
|
||||||
export LESS_TERMCAP_ue=$'\e[0m'
|
|
||||||
export LESS_TERMCAP_us=$'\e[0;36m'
|
|
||||||
|
|
||||||
export CC=clang
|
|
||||||
export CXX=clang
|
|
||||||
|
|
||||||
# Functions
|
# Functions
|
||||||
function env()
|
function env()
|
||||||
{
|
{
|
||||||
|
@ -56,15 +45,6 @@ chpwd_functions+='chpwd_show_todo'
|
||||||
PROMPT='(%{${fg[magenta]}%}%m%{${fg[default]}%} %{${fg[cyan]}%}%B%~%b%{${fg[default]}%}) %(?.%{${fg[green]}%}O.%{${fg[red]}%}X)%{${fg[default]}%} %# '
|
PROMPT='(%{${fg[magenta]}%}%m%{${fg[default]}%} %{${fg[cyan]}%}%B%~%b%{${fg[default]}%}) %(?.%{${fg[green]}%}O.%{${fg[red]}%}X)%{${fg[default]}%} %# '
|
||||||
RPROMPT='$(prompt_git_info)%{${fg[default]}%}'
|
RPROMPT='$(prompt_git_info)%{${fg[default]}%}'
|
||||||
|
|
||||||
# Aliases
|
|
||||||
alias alpine="alpine -p ""{imap.gmail.com/ssl/user=tom.willemsen@archlinux.us}remote_pinerc"""
|
|
||||||
alias evolus-pencil="/usr/lib/evolus-pencil-svn/evolus-pencil.sh"
|
|
||||||
alias grep="grep --color=always"
|
|
||||||
alias ls="ls -F --color=always"
|
|
||||||
alias slrn="NNTPSERVER='news.eternal-september.org' slrn"
|
|
||||||
alias cower="cower --color=always --target=$HOME/var/aur"
|
|
||||||
alias less="less -FXRS"
|
|
||||||
|
|
||||||
# Set terminal name to current runnign application
|
# Set terminal name to current runnign application
|
||||||
case $TERM in
|
case $TERM in
|
||||||
rxvt*)
|
rxvt*)
|
||||||
|
|
Loading…
Reference in a new issue