Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

fix for #15 #22

Merged
merged 1 commit into from

2 participants

@yedpodtrzitko

Hi,

there's a fix for bug #15 (mc hangs).

It checks if mc is active on given shell and if so, simply doesn't show the problematic prompt.

Regards,
yed_

@kennethreitz

Thanks!

@kennethreitz kennethreitz merged commit 6487d55 into kennethreitz:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Apr 20, 2012
  1. @yedpodtrzitko
This page is out of date. Refresh to see the latest.
Showing with 3 additions and 1 deletion.
  1. +3 −1 activate.sh
View
4 activate.sh
@@ -69,7 +69,9 @@ autoenv_check_authz_and_run()
envfile=$1
if autoenv_check_authz "$envfile"; then
source "$envfile"
- else
+ return 0
+ fi
+ if [[ -z $MC_SID ]]; then #make sure mc is not running
autoenv_env
autoenv_env "WARNING:"
autoenv_env "This is the first time you are about to source $envfile":
Something went wrong with that request. Please try again.