diff options
author | maxfl <gmaxfl@gmail.com> | 2012-07-07 10:17:24 +0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2012-07-07 23:34:16 -0700 |
commit | 76e1cda495d6e88cea383d387375588cdf9297bc (patch) | |
tree | d7763e521185691ff8850a5b3ed604391e908cc2 /reader.cpp | |
parent | c1a23bf4502b9812f3d2d5cfd3760b33b0ce44c7 (diff) |
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.
Diffstat (limited to 'reader.cpp')
-rw-r--r-- | reader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |