commit 174835ff96b12abfd2af7e4d3f6d82376537d97a
parent ca3ac5ed58893ec454f98893fd5d592e111aaddc
Author: Anders Damsgaard <andersd@riseup.net>
Date: Mon, 19 Mar 2018 09:41:37 -0400
Improve zsh startup performance and add w3m bookmark
Diffstat:
2 files changed, 10 insertions(+), 4 deletions(-)
diff --git a/links/.w3m/bookmark.html b/links/.w3m/bookmark.html
@@ -12,6 +12,7 @@
<li><a href="https://text.npr.org/">NPR (text only)</a>
<li><a href="https://lite.cnn.io/en">CNN (text only)</a>
<li><a href="https://www.nytimes.com/">New York Times</a>
+<li><a href="https://www.democracynow.org/">Democracy Now</a>
<!--End of section (do not delete this comment)-->
</ul>
<h2>Security</h2>
diff --git a/links/.zshrc b/links/.zshrc
@@ -1,5 +1,10 @@
-#### GENERAL
+#### ZSH PERFORMANCE DEBUG (enable all)
+#setopt prompt_subst
+#zmodload zsh/datetime
+#PS4='+[$EPOCHREALTIME]%N:%i> '
+#set -x
+#### GENERAL
ARCH=$(uname)
set -o noclobber # prevent overwriting files with > (override with 1>)
@@ -16,7 +21,7 @@ _has() {
[ -f $HOME/.locale ] && $HOME/.locale
autoload -Uz compinit promptinit colors
-compinit
+compinit -d
promptinit
colors
@@ -348,9 +353,9 @@ if [ -f /usr/local/Modules/default/init/zsh ]; then
source /usr/local/Modules/default/init/zsh && \
#module load git vim #python paraview ncview matlab ifort anaconda
module load git python/2.7.1
+ [ -d /net/and/anaconda3/bin ] && export PATH="/net/and/anaconda3/bin:$PATH"
+ [ -d /work/and/anaconda3/bin ] && export PATH="/work/and/anaconda3/bin:$PATH"
fi
-[ -d /net/and/anaconda3/bin ] && export PATH="/net/and/anaconda3/bin:$PATH"
-[ -d /work/and/anaconda3/bin ] && export PATH="/work/and/anaconda3/bin:$PATH"
[ -f /etc/pki/tls/certs/ca-bundle.crt ] && export CURL_CA_BUNDLE=/etc/pki/tls/certs/ca-bundle.crt
[ -d ~/code/basilisk/src ] && export BASILISK=~/code/basilisk/src