summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2019-04-17 16:59:28 +0200
committerPeter Palfrader <peter@palfrader.org>2019-04-17 16:59:28 +0200
commitc7a3b3d2ef0b999ca3ffa99ee2f4417536182fa3 (patch)
treeffd8ea780badecc8ee0615a3bf4f2478179799f6
parent80e1e06686da19fd8b8cc693d88a32acbbd13c7d (diff)
do not run fortune, we didn'd have it installed in a while
-rw-r--r--zshrc8
1 files changed, 0 insertions, 8 deletions
diff --git a/zshrc b/zshrc
index d933acb..beee55f 100644
--- a/zshrc
+++ b/zshrc
@@ -384,14 +384,6 @@ init-prompt
done
)
-if [ -x /usr/games/fortune ]; then
- FORTUNE_PATH=""
- [ -d /usr/share/games/fortunes ] && FORTUNE_PATH="$FORTUNE_PATH /usr/share/games/fortunes"
- [ -d /usr/share/games/fortunes/off ] && FORTUNE_PATH="$FORTUNE_PATH /usr/share/games/fortunes/off"
- [ -d $HOME/.fortunes/ ] && FORTUNE_PATH="$FORTUNE_PATH $HOME/.fortunes/"
- fortune `echo $FORTUNE_PATH`
- echo
-fi
[ -f COMMANDMENTS ] && cat COMMANDMENTS
[ -e $HOME/.zshrc-local ] && . $HOME/.zshrc-local
[ -e $HOME/.pal ] && [ -e /usr/bin/pal ] && pal -r 5-10