zshrc update and whoist script

This commit is contained in:
Sheppy
2016-10-20 15:08:47 +02:00
parent 35f3fb9f61
commit b28931f59e
4 changed files with 690 additions and 4 deletions

14
zshrc
View File

@@ -2,10 +2,12 @@ STSIZE=2000; SAVEHIST=2000; HISTFILE=~/.zsh/history #historylaenge
CMD_START=$'%F{green}--->%f '
PS1=$'%F{yellow}%m%f%F{red}:%f%F{cyan}%~%f\n'$CMD_START #promt
#coloring stderr
#coproc while read line;do print '\e[91m'${(q)line}'\e[0m' > /dev/tty;done
#exec 2>&p
exec 2>>( while IFS='' read X; do print "\e[91m${X}\e[0m" > /dev/tty; done & )
#coloring stderr, causes problems in output odering
#exec 2>>( while IFS='' read X; do print "\e[91m${X}\e[0m" > /dev/tty; done & )
#better by rudi_s
LD_PRELOAD='/home/cip/2013/ik15ydit/.config/libcoloredstderr.so'
COLORED_STDERR_FDS=2,
export LD_PRELOAD COLORED_STDERR_FDS
#seperation string between commands
setopt promptsubst
@@ -48,6 +50,7 @@ alias ww="php /proj/ciptmp/av37umic/scripts/woist.php all"
alias wa="php /proj/ciptmp/av37umic/scripts/woist.php add"
alias wd="php /proj/ciptmp/av37umic/scripts/woist.php del"
alias wl="php /proj/ciptmp/av37umic/scripts/woist.php list"
alias irc="ssh ircbox.cs.fau.de -t 'command; tmux a'"
alias zshconf="vim ~/.zshrc"
@@ -59,6 +62,9 @@ alias rudipub='cd /home/cip/2010/he29heri/pub/'
alias cltex="rm *.log *.aux *.fdb_latexmk *.fls"
alias wordcount="find . -type f -exec cat {} + | wc -w"
#pipealiases
alias -g D='| dot -Tpng >'
gitssh=~/.ssh/gitrsa
function key(){
eval `ssh-agent`