Giter VIP home page Giter VIP logo

Comments (7)

pszypowicz avatar pszypowicz commented on June 18, 2024 1

I just checked the proposed code and it worked. Thanks!

from alien-minimal.

eendroroy avatar eendroroy commented on June 18, 2024

This might happen from this line: https://github.com/eendroroy/alien-minimal/blob/master/modules/prompt.zsh#L9

Probably one of ENV variables causing the issue while copying it to async process.

You can try adding a echo like below:

__import_env() {
  echo "${1}" | while read -r line; do

    echo "DEBUGGING => ${line} <=" # DEBUG LINE

    eval "export $(echo "${line}" | awk -F'=' '{print $1"=\""$2"\""}')" > /dev/null
  done
}

from alien-minimal.

pszypowicz avatar pszypowicz commented on June 18, 2024

So the output is:

(eval):1: bad assignment                                                                                                                                 
DEBUGGING => <=

from alien-minimal.

eendroroy avatar eendroroy commented on June 18, 2024

Could you please share the output of:

env | grep --color=never "ENV_VERSION=\|^VIRTUAL_ENV=\|^AM_"

BTW, what procedures did you follow to install zsh in windows? If you could share I can try it out in a windows vm.

from alien-minimal.

pszypowicz avatar pszypowicz commented on June 18, 2024
$ env | grep --color=never "ENV_VERSION=\|^VIRTUAL_ENV=\|^AM_"
(eval):1: bad assignment
DEBUGGING => <=

So actually nothing :)

also my .amrc does not exist yet.

I'm using WSL 2, which is implemented in Windows as hyperv vm.

from alien-minimal.

j0ng4b avatar j0ng4b commented on June 18, 2024

You're welcome ☺️

from alien-minimal.

eendroroy avatar eendroroy commented on June 18, 2024

Merged #32

from alien-minimal.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.