summaryrefslogtreecommitdiffstats
path: root/bashrc
diff options
context:
space:
mode:
authormitsuo <[email protected]>2020-09-02 10:57:26 -0500
committermitsuo <[email protected]>2020-09-02 10:57:26 -0500
commite1b90958e2e7a0270c0c7326fc4c8997ba2b9e62 (patch)
treea62eeccde5d2bfd73a6a455072a20e193b412877 /bashrc
parentc7853855102bc88cb19bcb8cbad02887de0635b1 (diff)
downloaddotfiles-e1b90958e2e7a0270c0c7326fc4c8997ba2b9e62.tar.gz
dotfiles-e1b90958e2e7a0270c0c7326fc4c8997ba2b9e62.tar.bz2
dotfiles-e1b90958e2e7a0270c0c7326fc4c8997ba2b9e62.zip
Markdown to pdf/html in Vim; fortune for bash
Diffstat (limited to 'bashrc')
-rw-r--r--bashrc12
1 files changed, 10 insertions, 2 deletions
diff --git a/bashrc b/bashrc
index 972964e..d6b7d97 100644
--- a/bashrc
+++ b/bashrc
@@ -120,9 +120,17 @@ if [ -d "$HOME/.local/bin" ] ; then
PATH="$HOME/.local/bin:$PATH"
fi
+# Bash completition for pandoc
+eval "$(pandoc --bash-completion)"
+
# Greeting or salute
-cowsay -f flaming-sheep "oh no"
+# TODO: randomly select one of the following greeting commands
+#cowsay -f flaming-sheep "oh no" # original
+#cowsay $(fortune -e 30% debian-hints 20% linux 20% science \
+cowsay $(fortune 30% debian-hints 20% linux 20% science \
+ 20% off/linux 10% off/black-humor)
+#fortune ascii-art
# Some environmental variables.
-export TLDR_CONFIG_DIR="$HOME/.config"
+export TLDR_CONFIG_DIR="$XDG_CONFIG_HOME"
export GPG=TTY=$(tty)