mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-12 14:51:16 -03:00
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
This commit is contained in:
2
reader.c
2
reader.c
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user