Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scripting.png image is confusing #46

Closed
krader1961 opened this issue Feb 9, 2017 · 8 comments
Closed

scripting.png image is confusing #46

krader1961 opened this issue Feb 9, 2017 · 8 comments

Comments

@krader1961
Copy link

The example at assets/img/screenshots/scripting.png should be updated to be clearer. See fish-shell/fish-shell#3832 for an example of how that image confused a user.

@krader1961
Copy link
Author

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.

@ridiculousfish
Copy link
Member

I think I want to make this into a function rather than a call to cat.

@krader1961
Copy link
Author

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.

@ridiculousfish
Copy link
Member

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?

@faho
Copy link
Member

faho commented Feb 13, 2017

Fixed by 456a04f.

@faho faho closed this as completed Feb 13, 2017
@krader1961
Copy link
Author

Thanks, @faho. Your rewrite neatly sidesteps the issues that were confusing our newest member of the fish community.

@faho
Copy link
Member

faho commented Feb 13, 2017

Look again - @ridiculousfish made that 😆.

@ridiculousfish
Copy link
Member

Happy it's krader approved 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants