Updated config for anyenv

This commit is contained in:
Xavier Logerais 2015-09-18 12:13:03 +02:00
parent 9122dbf130
commit fecf3b6de0
2 changed files with 10 additions and 1 deletions

View File

@ -7,5 +7,4 @@
if [ -d "$HOME/.anyenv/bin" ] if [ -d "$HOME/.anyenv/bin" ]
then then
export PATH="$HOME/.anyenv/bin:$PATH" export PATH="$HOME/.anyenv/bin:$PATH"
eval "$(anyenv init -)"
fi fi

10
rc.d/anyenv Normal file
View File

@ -0,0 +1,10 @@
#!/bin/bash
# https://github.com/riywo/anyenv
# git clone https://github.com/riywo/anyenv $HOME/.anyenv
if ( which anyenv &> /dev/null )
then
eval "$(anyenv init -)"
fi