GithubHelp home page GithubHelp logo

Comments (4)

OJFord avatar OJFord commented on July 30, 2024

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.

OJFord avatar OJFord commented on July 30, 2024

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.

OJFord avatar OJFord commented on July 30, 2024

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.

OJFord avatar OJFord commented on July 30, 2024

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)

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.