flee leenode

This commit is contained in:
xfnw 2021-06-26 13:42:00 -04:00
parent efc1caab06
commit d6ed9612b0

8
.zshrc
View file

@ -12,9 +12,9 @@
plot() { cat /dev/stdin > /tmp/plotuwu; gnuplot -p -e 'set object rectangle from screen 0,0 to screen 1,1 behind fillcolor rgb "black" fillstyle solid noborder; set border lw 3 lc rgb "white"; set xtics textcolor rgb "white"; set xlabel "X" textcolor rgb "white"; set ylabel "Y" textcolor rgb "white"; set key textcolor rgb "white"; plot for [col=1:'$1'] "/tmp/plotuwu" using 0:col title "'$3'" with '$2' lw 2 pt 7' ; }
smoothplot() { cat /dev/stdin > /tmp/plotuwu; gnuplot -p -e 'set object rectangle from screen 0,0 to screen 1,1 behind fillcolor rgb "black" fillstyle solid noborder; set border lw 3 lc rgb "white"; set xtics textcolor rgb "white"; set xlabel "X" textcolor rgb "white"; set ylabel "Y" textcolor rgb "white"; set key textcolor rgb "white"; plot for [col=1:'$1'] "/tmp/plotuwu" using 0:col smooth cspline title "'$3'" with '$2' lw 2 pt 7' ; }
calcpi() { echo "scale=$1; 4*a(1)" | bc -l ; }
calcpi() { echo "scale=$1; 16*a(1/5)-4*a(1/239)" | bc -l ; }
alias hexcat="catgirl -h chat.freenode.net -n xfnwtest -ec cert.pem -u"
alias hexcat="catgirl -h irc.libera.chat -n xfnwtest -ec cert.pem -u"
alias warc="wget -rpkm --warc-cdx --warc-file"
@ -23,8 +23,8 @@ alias warc="wget -rpkm --warc-cdx --warc-file"
# End of lines added by compinstall
# Lines configured by zsh-newuser-install
HISTFILE=~/.zsh_history
HISTSIZE=1000000
SAVEHIST=1000000
HISTSIZE=10000000
SAVEHIST=10000000
setopt autocd
unsetopt nomatch
bindkey -v