Comments (8)
Fixed by 456a04f.
from fish-site.
Happy it's krader approved
from fish-site.
It would probably be sufficient to begin the example with cd ~/.config/fish/functions
to make it clear that the script containing the function is expected to be in the users function autoload directory.
from fish-site.
I think I want to make this into a function rather than a call to cat.
from fish-site.
Presumably by "make this into a function rather than a call to cat" you mean to replace the cat detect_os.fish
with something like function detect_os...end
. That is, show how to interactively define such a function. But if we're going to do that it might be better to change the example implementation to something that better illustrates how fish differs from bash, et. al., when expanding vars rather than focusing on a function definition.
from fish-site.
I'd love to show how the quoting nonsense isn't necessary, but I'm not sure how best to do that with a screenshot. Anyways I'm game - do you have an idea for what to show?
from fish-site.
Thanks, @faho. Your rewrite neatly sidesteps the issues that were confusing our newest member of the fish community.
from fish-site.
Look again - @ridiculousfish made that
from fish-site.
Related Issues (20)
- Change website header/title HOT 4
- Legacy HTTP and git:// URLs being used HOT 7
- use fish.sh as main domain? HOT 17
- Add git instructions alongside tarball HOT 2
- Add search HOT 5
- Use http://code.jquery.com instead of googleapis.com HOT 4
- install on Windows HOT 6
- install on Windows (continued) HOT 4
- markup typo HOT 1
- The Guix package URL is broken HOT 3
- HTTPS should be the only allowed protocol HOT 2
- SSL certificate is broken HOT 11
- Possibly a typo in docs HOT 1
- typos in urls HOT 1
- Some HTML tags interpreted as plain text HOT 1
- Link to Linux tab for WSL
- Why are we tracking site/_site folder in git HOT 2
- Update webconfig screenshot when 3.2 is released HOT 1
- Can't search for commands like "if" and "for" 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 fish-site.