aboutsummaryrefslogtreecommitdiffhomepage
path: root/reader.cpp
diff options
context:
space:
mode:
authorGravatar Konrad Borowski <glitchmr@myopera.com>2013-08-14 12:21:17 +0300
committerGravatar Konrad Borowski <glitchmr@myopera.com>2013-08-14 12:21:17 +0300
commitd407d680eaea4afb9eef384a003b10c5f6aafcd7 (patch)
tree8a8eef6a856183dca6e686ed84d1259d45340684 /reader.cpp
parentfeb36e7342cf782e7723fe41eb2c414ec2879800 (diff)
Show path containing current disk drive in Windows in title
Diffstat (limited to 'reader.cpp')
-rw-r--r--reader.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/reader.cpp b/reader.cpp
index 7753bd75..0e5b45bd 100644
--- a/reader.cpp
+++ b/reader.cpp
@@ -111,7 +111,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 -n \"$USER@\"(hostname|cut -d . -f 1)' '(pwd)'> '"
+#define DEFAULT_PROMPT L"echo -n \"$USER@\"(hostname|cut -d . -f 1)' '(__fish_pwd)'> '"
/**
The name of the function that prints the fish prompt
@@ -127,7 +127,7 @@ commence.
/**
The default title for the reader. This is used by reader_readline.
*/
-#define DEFAULT_TITLE L"echo $_ \" \"; pwd"
+#define DEFAULT_TITLE L"echo $_ \" \"; __fish_pwd"
/**
The maximum number of characters to read from the keyboard without