Comments (4)
Can you run bass -d source ~/.profile
and see if you can reproduce it in debug mode?
from bass.
I get this:
set: Tried to change the read-only variable “_”
# adding MAVEN_HOME=/Library/Maven/Home
set -g -x MAVEN_HOME "/Library/Maven/Home"
# updating PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin:/usr/local/MacGPG2/bin -> /opt/local/libexec/gnubin:/opt/local/bin:/opt/local/sbin:/Library/Maven/Home/bin:/Users/matt/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin:/usr/local/MacGPG2/bin
set -g -x PATH "/opt/local/libexec/gnubin" "/opt/local/bin" "/opt/local/sbin" "/Library/Maven/Home/bin" "/Users/matt/bin" "/usr/bin" "/bin" "/usr/sbin" "/sbin" "/usr/local/bin" "/usr/local/git/bin" "/usr/local/MacGPG2/bin"
# updating _=/usr/bin/python -> /opt/local/bin/python
set -g -x _ "/opt/local/bin/python"
# adding M2_HOME=/Library/Maven/Home
set -g -x M2_HOME "/Library/Maven/Home"
# adding JAVA_HOME=/Library/Java/JavaVirtualMachines/zulu-8.jdk/Contents/Home
set -g -x JAVA_HOME "/Library/Java/JavaVirtualMachines/zulu-8.jdk/Contents/Home"
# adding TOMCAT_HOME=/Library/Tomcat/Home
set -g -x TOMCAT_HOME "/Library/Tomcat/Home"
# adding GRADLE_HOME=/opt/local/share/java/gradle
set -g -x GRADLE_HOME "/opt/local/share/java/gradle"
# adding JRE_HOME=/Library/Java/JavaVirtualMachines/zulu-8.jdk/Contents/Home
set -g -x JRE_HOME "/Library/Java/JavaVirtualMachines/zulu-8.jdk/Contents/Home"
from bass.
@mattbishop Thanks for the update. The culprit is this:
# updating _=/usr/bin/python -> /opt/local/bin/python
So in your bash set up, _
is aliased to launching Python. If you remove that, it will fix the problem.
from bass.
Thanks Ed.
from bass.
Related Issues (20)
- How does bass import function from bash and why nvm need sourced every time ? HOT 2
- Annoying virtualenv conflict HOT 1
- Newlines sourced as \\n string literals
- append_path: command not found
- Quotes disappear from arguments when running script through bass HOT 3
- No module named 'json' HOT 3
- bass -d "source someshell.sh" not exactly stay the same every time
- %WSLENV%: invalid variable name HOT 2
- Command 'python' not found HOT 5
- "Variables may not be used as commands" HOT 2
- variables cannot be bracketed HOT 1
- "Bass internal error!" when status code is not 0 HOT 5
- Sourcing bash alias with question mark triggers `No matches for wildcard` error HOT 3
- cannot read file system information bug HOT 1
- `$1` is set in contrast to bash HOT 8
- Test scripts: using double `dirname` does not work if command line is `./test_dollar_on_output.fish` HOT 1
- Alias with $* does not get correctly converted HOT 1
- Significantly slower to source paths to a different directory HOT 4
- Bass and ssh-agent aren't interacting well on Linux HOT 3
- Can bass convert script files? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bass.