diff options
author | Jan200101 <sentrycraft123@gmail.com> | 2020-12-12 14:41:12 +0100 |
---|---|---|
committer | Jan200101 <sentrycraft123@gmail.com> | 2020-12-12 14:41:12 +0100 |
commit | 48cdfd12cd23924a65717dee1cdce4d475639035 (patch) | |
tree | a0a0a4f2773153c2a380e7997e7c83cb8bc560b4 | |
parent | d535019d4d5c1023768fc385055aae6573b2ac69 (diff) | |
download | polecat-48cdfd12cd23924a65717dee1cdce4d475639035.tar.gz polecat-48cdfd12cd23924a65717dee1cdce4d475639035.zip |
improve fish-env message
-rw-r--r-- | src/wine.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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 { |