Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

add .local/bin to path #11

Merged
merged 1 commit into from

2 participants

@DDAZZA

needs adding to the path so ry can be executed anywhere

@jneen
Owner

That's interesting that it's not there by default. The .local prefix isn't something I made up - it's part of the XDG Base Directory standard (http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html).

I'm assuming here that if you send along PREFIX=$HOME/.local to make install, then it's on your path. If you've done what all the trendy mac people are doing and chowning or chmoding /usr/local, then you can go right ahead and install with PREFIX=/usr/local.

That being said, I think your patch would be fine with a little bit more explanation - just to make it clear that $HOME/.local isn't a special property of ry.

see also: http://askubuntu.com/questions/14535/whats-the-local-folder-for-in-my-home-directory

@jneen jneen merged commit cbbd84a into jneen:master
@jneen
Owner

I added a little note. Thanks for the patch!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 18, 2012
  1. @DDAZZA

    add ry to path

    DDAZZA authored
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 1 deletion.
  1. +2 −1  README.md
View
3  README.md
@@ -10,9 +10,10 @@ cd ry
PREFIX=$HOME/.local make install
```
-and add the following to your bashrc:
+and add the following lines to your bashrc:
``` bash
+export PATH="$HOME/.local/bin:$PATH"
eval "$(ry setup)"
```
Something went wrong with that request. Please try again.