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

bashcrawl errata for Mac users #7

Open
zstumgoren opened this issue Jan 7, 2022 · 0 comments
Open

bashcrawl errata for Mac users #7

zstumgoren opened this issue Jan 7, 2022 · 0 comments

Comments

@zstumgoren
Copy link
Member

We need an errata note for the Bashcrawl assignment related to the potions spell, which asks users to colorize the ls command by setting a new alias ls=‘ls -F --color=auto’. This leads to an error on Mac:

~/code/bashcrawl/entrance/cellar/armoury/chamber/portal/library> ls -F --color=auto
ls: illegal option -- -
usage: ls [-@ABCFGHLOPRSTUWabcdefghiklmnopqrstuwx1%] [file ...]

Don't see this issue mentioned in the Bashcrawl issues but the --color flag was apparently replaced by the-G flag on Macs many years ago, so it appears the proper alias should be alias ls='ls -FG.

We should verify with Mac users in class to make sure this works for everyone. May need to also explore an edge case related to --color flag based on this SO post.

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

No branches or pull requests

1 participant