diff --git a/scripts/acrl b/scripts/acrl deleted file mode 100755 index 7e6a32c3..00000000 --- a/scripts/acrl +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/bash - -article_md "https://$1" --format=html | hxnormalize -e | grep -v -e '^$' | pygmentize -l html diff --git a/scripts/hcrl b/scripts/hcrl index c48b6613..6c95103b 100755 --- a/scripts/hcrl +++ b/scripts/hcrl @@ -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 diff --git a/scripts/mcrl b/scripts/mcrl index f9ea469c..ae452e9b 100755 --- a/scripts/mcrl +++ b/scripts/mcrl @@ -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 diff --git a/scripts/sdir b/scripts/sdir index bce278e6..47f26e87 100755 --- a/scripts/sdir +++ b/scripts/sdir @@ -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