summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2010-04-19 11:03:38 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2010-04-19 11:03:38 +0200
commit45e44cd9391f2622a09c25de22d3de1060e36b41 (patch)
treea067b20b8f6417161af13a2388203b49cb76ba36 /etc
parent2a534720839f84d24becca09c058fabc27e6d545 (diff)
Various cleanup/updates
Diffstat (limited to 'etc')
-rw-r--r--etc/.zshrc32
1 files changed, 12 insertions, 20 deletions
diff --git a/etc/.zshrc b/etc/.zshrc
index 118f993..31409ed 100644
--- a/etc/.zshrc
+++ b/etc/.zshrc
@@ -81,15 +81,8 @@ path=(~/bin ${path})
# Add manuals from caretaker to manpath
if [[ ${distro} == debian ]] {
- if [[ -e ~/packages/catman ]] {
- export MANPATH=/var/cache/man
- } else {
- export MANPATH=/usr/share/man
- if (( COLUMNS > 100 )) {
- export MANWIDTH=100
- }
- }
- MANPATH+=":/usr/local/share/man:${HOME}/packages/.collected/man"
+ export MANPATH=/usr/share/man:/usr/local/share/man
+ MANPATH+=":${HOME}/packages/.collected/man"
}
# }}}
@@ -243,9 +236,8 @@ zstyle ':prompt:rtab' nameddirs yes
# }}}
# {{{ Named directories
-hash -d vcs=~/var/svn
+xhashd vcs=~/var/svn
xhashd lyrics=~vcs/lyrics
-xhashd www=/var/www
xhashd web=~/public_html
# }}}
@@ -254,7 +246,7 @@ xhashd web=~/public_html
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[kend]} ]] || bindkey -M emacs ${terminfo[kend]} end-of-line
# }}}
# {{{ Aliases
@@ -262,15 +254,15 @@ bindkey -e
typeset -A alias_apps
alias_apps=(
- archive extract
- audio mplayer
- document kpdf
- image feh
- video mplayer
+ archive extract
+ audio mplayer
+ document apvlv
+ image feh
+ video mplayer
)
for meta in ${parameters[(I)mime_*]#mime_}; {
- for format in $(eval echo "$"mime_${meta}); {
+ for format in $(eval echo '$'mime_${meta}); {
alias -s ${format}=${alias_apps[$meta]}
}
}
@@ -380,7 +372,7 @@ for i in ~/var/gtd/*(.N); {
}
alias lsi='feh --list'
-alias lst='tar tvf'
+alias lst='tar -tvf'
alias lsz='unzip -l'
alias nb='newsbeuter'
@@ -440,7 +432,7 @@ if [[ ${distro} == debian ]] { #{{{
} #}}}
if [[ -e /tmp/.x-started ]] { #{{{
- alias feh='feh --quiet --verbose --action8 "nrm '\'%f\'\"
+ alias feh='feh --quiet --verbose --sort filename --action8 "nrm '\'%f\'\"
# Alias structure:
# feh[theme][recursive?][slide-delay?]