aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/wine.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/wine.c b/src/wine.c
index f1827d8..80b9cfa 100644
--- a/src/wine.c
+++ b/src/wine.c
@@ -285,14 +285,13 @@ int wine_env(int argc, char** argv)
winepath[strlen(winepath) - strlen("wine")] = '\0';
if (isatty(STDOUT_FILENO))
{
- puts("To add a wine installation to your PATH\n"
- "you have to eval polecats output eval\n"
- "the output (or your shells equivelent)\n\n"
- " eval `polecat wine env <version>`");
+ 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);
}
else
{
- printf("PS1=\"(%s)$PS1\"\nPATH=\"%s:$PATH\"\n", winever, winepath);
+ printf("PS1=\"(%s) $PS1\"\nPATH=\"%s:$PATH\"\n", winever, winepath);
}
//printf("PATH=\"%s\"\n# Run this code in your Terminal\n# by running eval `%s`", newpath, argv[0]);
}