From 30652436efbaacfcbb9a507c23502b9d07a596de Mon Sep 17 00:00:00 2001 From: Daniel Borkmann Date: Tue, 21 May 2013 14:52:28 +0200 Subject: mausezahn: do not show version in prompt Do not show the old mausezahn version in the prompt, since we use a different versioning scheme. Signed-off-by: Daniel Borkmann --- staging/cli.c | 2 +- staging/cli.h | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/staging/cli.c b/staging/cli.c index b74d688..409b2ec 100644 --- a/staging/cli.c +++ b/staging/cli.c @@ -211,7 +211,7 @@ int cli() gcli = cli; // Set the hostname (shown in the the prompt) - cli_set_hostname(cli, MZ_PROMPT); + cli_set_hostname(cli, "mz"); // Set the greeting cli_set_banner(cli, "mausezahn " VERSION_STRING); diff --git a/staging/cli.h b/staging/cli.h index 6c6cccb..c69caa8 100644 --- a/staging/cli.h +++ b/staging/cli.h @@ -48,8 +48,6 @@ #define MZ_MODE_INTERFACE 1200 #define MZ_MODE_SEQUENCE 1300 -#define MZ_PROMPT "mz-" MAUSEZAHN_VERSION_SHORT - #define MZ_DEFAULT_USERNAME "mz" #define MZ_DEFAULT_PASSWORD "mz" #define MZ_DEFAULT_ENABLE_PASSWORD "mops" -- cgit v1.2.3-54-g00ecf