mirror of
https://github.com/FAUSheppy/config
synced 2025-12-09 16:18:33 +01:00
zshrc update and whoist script
This commit is contained in:
14
zshrc
14
zshrc
@@ -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`
|
||||
|
||||
Reference in New Issue
Block a user