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

Enable running menu from arbitrary folder #27

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Enable running menu from arbitrary folder #27

wants to merge 1 commit into from

Conversation

ulidtko
Copy link

@ulidtko ulidtko commented Mar 11, 2014

Instead of asking the user to change directory, let the script do it by itself.

$0 expands to the filename of the script, then dirname extracts its
containing directory. cd changes the current directory to it. Then,
everything else works as before.

Instead of asking the user to change directory, let the script do it by itself.

`$0` expands to the filename of the script, then `dirname` extracts its
containing directory. `cd` changes the *current directory* to it. Then,
everything else works as before.
@Caio99BR
Copy link

Dont work properly, this work best Caio99BR-Deprecated@a6ca357

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

Successfully merging this pull request may close these issues.

2 participants