aboutsummaryrefslogtreecommitdiff
path: root/src/wine.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/wine.c')
-rw-r--r--src/wine.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/wine.c b/src/wine.c
index f3ad72d..0cfbfd2 100644
--- a/src/wine.c
+++ b/src/wine.c
@@ -337,8 +337,11 @@ COMMAND(wine, env)
if (isatty(STDOUT_FILENO))
{
printf("To add a wine installation to your PATH\n"
- "you have to eval the output.\n\n"
- "$ eval `polecat wine env %s`\n", winever);
+ "you have to eval the output.\n\n");
+ if (!fish_env)
+ printf("$ eval `polecat wine env %s`\n", winever);
+ else
+ printf("$ eval (polecat wine fish-env %s)\n", winever);
}
else
{