summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2010-05-05 01:27:50 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2010-05-05 01:27:50 +0200
commit8aef40d91b2b70ad7306b9f6c877fc724d050d46 (patch)
treeb90aa649cbfd965d149e7e65b3981cc814daeae8
parentae158eba7115e878cc05c817efce603748360d43 (diff)
zomg linebreaks
-rw-r--r--etc/.zprofile13
-rw-r--r--etc/.zshenv4
-rw-r--r--etc/.zshrc28
3 files changed, 31 insertions, 14 deletions
diff --git a/etc/.zprofile b/etc/.zprofile
index c311330..a169083 100644
--- a/etc/.zprofile
+++ b/etc/.zprofile
@@ -6,10 +6,15 @@ function pr_info {
echo
pr_info "This is %F{cyan}$(uname -srm)%F{default} on %F{cyan}%y%F{default}"
-[[ -r /etc/gentoo-release ]] && pr_info "Running %F{cyan}Gentoo%F{default} ${$(cat /etc/gentoo-release)#(#i)gentoo }"
-[[ -r /etc/debian_version ]] && pr_info "Running %F{cyan}Debian%F{default} $(cat /etc/debian_version)"
-[[ -r /etc/arch-release ]] && pr_info "Running %F{cyan}Arch%F{default}"
-[[ -r /etc/redhat-release ]] && pr_info "Running %F{cyan}Redhat%F{default}"
+
+[[ -r /etc/gentoo-release ]] && pr_info 'Running %F{cyan}Gentoo%F{default}' \
+ ${$(cat /etc/gentoo-release)#(#i)gentoo }"
+
+[[ -r /etc/debian_version ]] && pr_info 'Running %F{cyan}Debian%F{default}' \
+ $(cat /etc/debian_version)"
+
+[[ -r /etc/arch-release ]] && pr_info 'Running %F{cyan}Arch%F{default}'
+[[ -r /etc/redhat-release ]] && pr_info 'Running %F{cyan}Redhat%F{default}'
echo
diff --git a/etc/.zshenv b/etc/.zshenv
index 3ff22a6..5b861f7 100644
--- a/etc/.zshenv
+++ b/etc/.zshenv
@@ -10,7 +10,9 @@ fpath=(${ZDIR}/functions ${ZDIR}/completions ${fpath})
export EDITOR==vim
export MPD_HOST=mpd
export CALENDAR_DIR=${HOME}/stuff
-export LESS='--silent --no-init --clear-screen --RAW-CONTROL-CHARS --quit-if-one-screen --ignore-case --tabs=5'
+
+export LESS='--silent --no-init --clear-screen --RAW-CONTROL-CHARS'\
+' --quit-if-one-screen --ignore-case --tabs=5'
# Required for various scripts
export HOST
diff --git a/etc/.zshrc b/etc/.zshrc
index de4434d..2fdabb7 100644
--- a/etc/.zshrc
+++ b/etc/.zshrc
@@ -102,8 +102,9 @@ mime_audio=(
)
mime_document=(pdf ps)
mime_image=(
- art bmp cdr cdt cpt cr2 crw djv djvu erf gif ico ief jng jpe jpeg jpg nef orf
- pat pbm pcx pgm png pnm ppm psd ras rgb svg svgz tif tiff wbmp xbm xpm xwd
+ art bmp cdr cdt cpt cr2 crw djv djvu erf gif ico ief jng jpe jpeg jpg nef
+ orf pat pbm pcx pgm png pnm ppm psd ras rgb svg svgz tif tiff wbmp xbm
+ xpm xwd
)
mime_video=(
3gp asf asx avi axv dif divx dl dv fli flv gl lsf lsx m2t mkv mng mov
@@ -233,9 +234,12 @@ xhashd web=~/public_html
# {{{ Keys
bindkey -e
-[[ -z ${terminfo[kdch1]} ]] || bindkey -M emacs ${terminfo[kdch1]} delete-char
-[[ -z ${terminfo[khome]} ]] || bindkey -M emacs ${terminfo[khome]} beginning-of-line
-[[ -z ${terminfo[kend]} ]] || bindkey -M emacs ${terminfo[kend]} end-of-line
+[[ -z ${terminfo[kdch1]} ]] || bindkey -M emacs ${terminfo[kdch1]} \
+ delete-char
+[[ -z ${terminfo[khome]} ]] || bindkey -M emacs ${terminfo[khome]} \
+ beginning-of-line
+[[ -z ${terminfo[kend]} ]] || bindkey -M emacs ${terminfo[kend]} \
+ end-of-line
# }}}
# {{{ Aliases
@@ -314,8 +318,11 @@ alias vim='vim -p'
# }}}
# {{{ Font
-alias font-present='echo -en "\033]50;-*-terminus-medium-*-*-*-*-320-*-*-*-*-*-*\007"'
-alias font-default='echo -en "\033]50;-misc-fixed-medium-r-semicondensed--13-*-*-*-*-*-iso10646-1\007"'
+alias font-present='echo -en '\
+'"\033]50;-*-terminus-medium-*-*-*-*-320-*-*-*-*-*-*\007"'
+
+alias font-default='echo -en '\
+'"\033]50;-misc-fixed-medium-r-semicondensed--13-*-*-*-*-*-iso10646-1\007"'
# }}}
# {{{ Global
@@ -514,8 +521,11 @@ zstyle ':completion:*:*:vi(m|):*' ignored-patterns \
'a.out|*.o'
# source: http://madism.org/~madcoder/dotfiles/zsh/40_completion
-zstyle ':completion:*:processes' command 'ps -au${USER} -o pid,time,cmd|grep -v "ps -au${USER} -o pid,time,cmd"'
-zstyle ':completion:*:*:kill:*:processes' list-colors '=(#b) #([0-9]#)[ 0-9:]#([^ ]#)*=01;30=01;31=01;38'
+zstyle ':completion:*:processes' command \
+ 'ps -au${USER} -o pid,time,cmd|grep -v "ps -au${USER} -o pid,time,cmd"'
+
+zstyle ':completion:*:*:kill:*:processes' list-colors \
+ '=(#b) #([0-9]#)[ 0-9:]#([^ ]#)*=01;30=01;31=01;38'
zstyle ':completion:*:manuals' separate-sections true
zstyle ':completion:*:manuals.*' insert-sections true