diff --git a/.emacs b/.emacs index 4aa27c5..111ffe2 100644 --- a/.emacs +++ b/.emacs @@ -14,7 +14,6 @@ ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. '(custom-enabled-themes '(tsdh-dark)) - '(initial-buffer-choice "~/.esplash") '(tool-bar-mode nil) '(menu-bar-mode nil)) diff --git a/bin/mark b/bin/mark index f38458b..c0a54b8 100755 --- a/bin/mark +++ b/bin/mark @@ -1,6 +1,6 @@ #!/bin/bash -grep -l "$1" ~/.local/share/catgirl/log/*/*/* | shuf -n 30 | tr "\n" " " | xargs cat | grep '>' > /tmp/markylol +grep -l "$1" ~/.local/share/catgirl/log/*/*/* | shuf -n 1 | tr "\n" " " | xargs cat | grep '>' > /tmp/markylol nextword(){ awk '{for (I=1;I<=NF;I++) if ($I == "'$1'") {print $(I+1)};}' /tmp/markylol | sed '/^$/d' | shuf -n 1 ; } diff --git a/bin/rstart b/bin/rstart new file mode 100755 index 0000000..3d9e42b --- /dev/null +++ b/bin/rstart @@ -0,0 +1,3 @@ +#!/bin/bash + +mark $(echo ~/.local/share/catgirl/log/*/*/* | shuf -n1 | xargs grep '>' | shuf -n1 | cut -d' ' -f3) | tr -d "\n"