diff options
author | Claes Nästén <me@pekdon.net> | 2007-08-22 18:00:52 +1000 |
---|---|---|
committer | Claes Nästén <me@pekdon.net> | 2007-08-22 18:00:52 +1000 |
commit | c2c4b2417441475f45aa970f13879846bb32c7bf (patch) | |
tree | 063acc7c5a6d7ce5eb12b297069722cd51664acd /reader.c | |
parent | 74a270ea327129b489410900851a88d1e5a4084d (diff) |
Fix issue in error handling, reported to and fixed by Axel Liljencrantz. Change val[0] and body[0] in env universal to val[1] and body[1] to support compilation with Sun Studio. Change default prompt to use pekdon instead of whoami as it does not exist under Solaris.
darcs-hash:20070822080052-cac88-326332f0df7d17ddca4a4496c93728a47f19bba5.gz
Diffstat (limited to 'reader.c')
-rw-r--r-- | reader.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -115,7 +115,7 @@ commence. fish specific commands, meaning it will work even if fish is not installed. This is used by read_i. */ -#define DEFAULT_PROMPT L"whoami; echo @; hostname|cut -d . -f 1; echo \" \"; pwd; printf '> ';" +#define DEFAULT_PROMPT L"echo \"$USER@\"; hostname|cut -d . -f 1; echo \" \"; pwd; printf '> ';" #define PROMPT_FUNCTION_NAME L"fish_prompt" |