✏️ Modified scripts

This commit is contained in:
z3rOR0ne 2022-09-05 07:23:32 -07:00
parent c482a3ab80
commit c3fe182d94
4 changed files with 5 additions and 5 deletions

View file

@ -1,3 +0,0 @@
#!/bin/bash
article_md "https://$1" --format=html | hxnormalize -e | grep -v -e '^$' | pygmentize -l html

View file

@ -1,3 +1,3 @@
#!/bin/bash
torsocks curl -s https://{$1} | hxnormalize -e | grep -v -e '^$' | pygmentize -l html
curl -s https://{$1} | hxnormalize -e | grep -v -e '^$' | pygmentize -l html

View file

@ -1,3 +1,3 @@
#!/bin/bash
torsocks curl -sL https://${1} | pandoc -f html -t markdown | grep -v -e '^$' | grep -v -e ":::" | pygmentize -l markdown
curl -sL https://${1} | pandoc -f html -t markdown | grep -v -e '^$' | grep -v -e ":::" | pygmentize -l markdown

View file

@ -14,6 +14,9 @@ fi
# save our current working directory
sdir=$(pwd)
# make sure we don't overwrite our .zshrc
set -o noclobber
# and write that directory temporarily, appending it onto the end of our .zshrc
echo 'export sdir='$sdir >> $HOME/.zshrc
# immediately source it to use it in this shell session