From d6ed9612b099861d1a691e24e45109efe1d2c202 Mon Sep 17 00:00:00 2001 From: xfnw Date: Sat, 26 Jun 2021 13:42:00 -0400 Subject: [PATCH] flee leenode --- .zshrc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.zshrc b/.zshrc index a23557e..49764b6 100644 --- a/.zshrc +++ b/.zshrc @@ -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