Comments (4)
Oh, ah!
~>time bass source "$HOME/.profile"
________________________________________________________
Executed in 3.57 secs fish external
usr time 268.13 millis 1.76 millis 266.38 millis
sys time 291.01 millis 3.44 millis 287.57 millis
(Changed .profile
to $HOME/.profile
in order to exactly match config.fish
!)
from bass.
Which of course you'd think could only be a fish
issue, but:
~>time echo "$HOME/.profile" >/dev/null
________________________________________________________
Executed in 122.00 micros fish external
usr time 128.00 micros 128.00 micros 0.00 micros
sys time 17.00 micros 17.00 micros 0.00 micros
I don't understand this..!
from bass.
Ah, of course.. 🤦 - it's not that there's a variable interpolated, it's that it's an absolute path:
~>time bass source /home/ojf/.profile
________________________________________________________
Executed in 3.63 secs fish external
usr time 309.51 millis 2.36 millis 307.15 millis
sys time 332.80 millis 3.63 millis 329.16 millis
~>pwd
/home/ojf
~>time bass source .profile
________________________________________________________
Executed in 119.79 millis fish external
usr time 94.47 millis 2.33 millis 92.14 millis
sys time 9.40 millis 2.67 millis 6.73 millis
from bass.
Wrong again..! It seems to be the presence of forward slashes, not necessarily that it's at the beginning (an absolute path).
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
- 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.