summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Ritter <xeno@thehappy.de>2011-02-06 16:59:18 +0100
committerStefan Ritter <xeno@thehappy.de>2011-02-06 16:59:18 +0100
commit4b43eee327b365f891a1221b3e33aa4b2207235e (patch)
tree0d8a94e3befd2f04b519d301304c54d96e183b2c
parent77d3aa9bce664dda8072cacadfba9a72f3a80f20 (diff)
Some fixes for arch
-rw-r--r--vim/vimrc2
-rw-r--r--zsh/zshrc25
2 files changed, 13 insertions, 14 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 0ddc59a..c18062d 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -8,10 +8,12 @@ set number " enable linenumbers
set noerrorbells " bell sucks
set autoindent
set tabstop=4
+set textwidth=80
set shiftwidth=4
set shiftround
set modeline " enable modelines
set nobackup " get rid of backupfiles
+set nohlsearch " stop hilight all matches
"set foldenable
"set listchars=tab:»·
"set list " enable tab chars
diff --git a/zsh/zshrc b/zsh/zshrc
index 5b1bb7b..b3dd3e6 100644
--- a/zsh/zshrc
+++ b/zsh/zshrc
@@ -1,17 +1,8 @@
-#PUSER=%{$(echo -n '\e[0;37m')%}%n
-#PATKI=%{$(echo -n '\e[0;37m')%}@
-#PHOST=%{$(echo -n '\e[1;33m')%}%m
-#PDOPP=%{$(echo -n '\e[1;37m')%}:
-#PPATH=%{$(echo -n '\e[1;30m')%}%~
-#PCOMM=%{$(echo -n '\e[0;37m')%}
-
-#PROMPT="$PUSER$PATKI$PHOST$PDOPP$PPATH$PCOMM "
-
PROMPT="%~%(1v.%F{green}%1v%f.)%F{red}%2v%f %% "
zstyle ':completion:*' special-dirs true
zstyle ':completion:*:*:kill:*' menu yes select
-zstyle ':completion:*:kill:*' force-list always
+zstyle ':completion:*:kill:*' force-list always
zmodload -a zsh/complist complist
@@ -22,7 +13,6 @@ setopt listtypes
setopt extended_glob
setopt always_to_end
setopt auto_param_slash
-
setopt append_history
setopt share_history
setopt hist_ignore_dups
@@ -56,12 +46,11 @@ precmd() {
}
# Shell stuff
-alias c="clear && fortune"
+alias c="clear"
alias ls="ls --color=auto"
alias l="ls -lah"
alias mkdir="mkdir -p"
alias rmrf="rm -rf"
-alias v="vim"
# General stuff
alias g='git'
@@ -70,11 +59,13 @@ alias gitserv="git daemon --verbose --reuseaddr --base-path=. --export-all ./.gi
alias iso="genisoimage -l -J -R -o cd.iso"
alias m="mocp"
alias p="pal -r 7"
-alias q='quilt'
+alias q="quilt"
alias r="rdesktop-vrdp -k de -K localhost"
alias s="screen -r -d"
alias t="tmux a"
alias tmux='tmux -u'
+alias v="vim"
+alias vi="vim"
alias vbm="VBoxManage"
alias httpd="python -m SimpleHTTPServer"
@@ -91,6 +82,12 @@ alias yi="sudo yum install"
alias yr="sudo yum remove"
alias ys="yum search"
+# Arch stuff
+alias pi="sudo pacman -S"
+alias pss="pacman -Ss"
+alias pu="sudo pacman -Syu"
+alias pr="sudo pacman -Rs"
+
# VCS stuff
alias svn-uscan='uscan --verbose --force-download --rename --repack --destdir=../tarballs'
alias svn-bp='svn-buildpackage --svn-builder=pdebuild --svn-ignore-new'