mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-15 09:21:15 -03:00
Set single-line default prompt
Fish now doesn't join the fish_prompt output. This breaks the default fish_prompt. Make default fish_prompt single-line. Fixes #203. Add -l flag to 'read' documentation. Remove ambiguous '-x' description. Fixes #157.
This commit is contained in:
@@ -118,7 +118,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"echo \"$USER@\"; hostname|cut -d . -f 1; echo \" \"; pwd; printf '> ';"
|
||||
#define DEFAULT_PROMPT L"echo -n \"$USER@\"(hostname|cut -d . -f 1)' '(pwd)'> '"
|
||||
|
||||
/**
|
||||
The name of the function that prints the fish prompt
|
||||
|
||||
Reference in New Issue
Block a user