summaryrefslogtreecommitdiffstats
path: root/bashrc
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2017-01-12 03:02:00 -0500
committerJesse Luehrs <doy@tozt.net>2017-01-12 03:21:12 -0500
commit494ef18c42eadf67b966708f7ebe23c8c2544a2d (patch)
tree764a283c6959092b85702d948283f5257273bd1c /bashrc
parent4ea008eb79e649019cb4c2f198837b8e72c4da8c (diff)
downloadconf-494ef18c42eadf67b966708f7ebe23c8c2544a2d.tar.gz
conf-494ef18c42eadf67b966708f7ebe23c8c2544a2d.zip
remove some stuff i no longer use
Diffstat (limited to 'bashrc')
-rw-r--r--bashrc19
1 files changed, 0 insertions, 19 deletions
diff --git a/bashrc b/bashrc
index 9ba5a46..7d680eb 100644
--- a/bashrc
+++ b/bashrc
@@ -46,25 +46,6 @@ source ~/.sh/cdhist.sh
# prompt {{{
export PROMPT_COMMAND="__err=\$?;$PROMPT_COMMAND;PS1=\"\$(fancy-prompt --prompt-escape bash "\$__err")\""
# }}}
-# set the correct perl {{{
-if type -a perlbrew > /dev/null 2>&1; then
- function _setup_perlbrew {
- local perl=$PERLBREW_PERL
- [ -z $perl ] && perl="$(readlink ${HOME}/perl5/perlbrew/perls/current)"
- local pwd="${PWD#${HOME}}/"
- if [[ "${pwd:0:6}" == "/work/" ]]; then
- if [[ "$perl" != "work-perl" ]]; then
- perlbrew use work-perl
- fi
- else
- if [[ "$perl" == "work-perl" ]]; then
- perlbrew use perl-5.18
- fi
- fi
- }
- export PROMPT_COMMAND="${PROMPT_COMMAND};_setup_perlbrew"
-fi
-# }}}
# }}}
# fortune {{{
fortune -n600 -s ~/.fortune | grep -v -E "^$"