aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/tools
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2015-03-24 17:03:40 -0700
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2015-03-24 17:03:40 -0700
commite896acffd7dc12997b1dd44d852bab2eec1333b6 (patch)
tree23dd0d980ea36b04d610ea122e517fa7544c99f7 /share/tools
parent20a6b65b2536c4f59934a2e52271cfa814a586ea (diff)
Use $PWD instead of (pwd) in sample prompt
This improves the case where the working directory has vanished Fixes #1857
Diffstat (limited to 'share/tools')
-rw-r--r--share/tools/web_config/sample_prompts/informative.fish2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/tools/web_config/sample_prompts/informative.fish b/share/tools/web_config/sample_prompts/informative.fish
index b0bc601b..749d8171 100644
--- a/share/tools/web_config/sample_prompts/informative.fish
+++ b/share/tools/web_config/sample_prompts/informative.fish
@@ -45,7 +45,7 @@ if not set -q __fish_prompt_cwd
set -g __fish_prompt_cwd (set_color $fish_color_cwd)
end
-printf '[%s] %s%s@%s %s%s %s(%s)%s \f\r> ' (date "+%H:%M:%S") "$__fish_color_blue" $USER $__fish_prompt_hostname "$__fish_prompt_cwd" (pwd) "$__fish_color_status" "$stat" "$__fish_prompt_normal"
+printf '[%s] %s%s@%s %s%s %s(%s)%s \f\r> ' (date "+%H:%M:%S") "$__fish_color_blue" $USER $__fish_prompt_hostname "$__fish_prompt_cwd" "$PWD" "$__fish_color_status" "$stat" "$__fish_prompt_normal"
end
end