Skip to content

Commit

Permalink
feat(help): Show help link for the version you are using
Browse files Browse the repository at this point in the history
  • Loading branch information
daisylb committed Aug 4, 2015
1 parent f0cb7b7 commit 2d2df28
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion 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',
Expand Down
4 changes: 3 additions & 1 deletion 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
Expand Down Expand Up @@ -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

################
Expand Down

0 comments on commit 2d2df28

Please sign in to comment.