diff --git a/setup.py b/setup.py index 5428e2d..e49d9de 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,7 @@ from setuptools import setup, find_packages setup(name='virtualfish', - version='1.0.0', # Don't forget to change this in docs/conf.py too! + version='1.0.0', # Don't forget to change this in docs/conf.py and virtual.fish too! description='A virtualenv wrapper for the Fish shell', author='Adam Brenecki', author_email='adam@brenecki.id.au', diff --git a/virtualfish/virtual.fish b/virtualfish/virtual.fish index c0bfea4..23bad13 100644 --- a/virtualfish/virtual.fish +++ b/virtualfish/virtual.fish @@ -1,6 +1,8 @@ # VirtualFish # A Virtualenv wrapper for the Fish Shell based on Doug Hellman's virtualenvwrapper +set -g VIRTUALFISH_VERSION master + if not set -q VIRTUALFISH_HOME set -g VIRTUALFISH_HOME $HOME/.virtualenvs end @@ -258,7 +260,7 @@ function __vf_help --description "Print VirtualFish usage information" printf " %-15s %s\n" $sc (set_color 555)$helptext(set_color normal) end echo - echo "For full documentation, see: http://virtualfish.readthedocs.org/en/latest/" + echo "For full documentation, see: http://virtualfish.readthedocs.org/en/$VIRTUALFISH_VERSION/" end ################