From 72e8ef0d83a5cccf8b379c8d6c262d7dc62098e4 Mon Sep 17 00:00:00 2001 From: Von Random Date: Tue, 13 Dec 2016 11:48:55 +0300 Subject: [PATCH] cannot use $PWD until I stop using bash-git-prompt --- bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bashrc b/bashrc index 17d9250..196e90f 100644 --- a/bashrc +++ b/bashrc @@ -59,7 +59,7 @@ prompt_command() else bang="${pnred}>" fi - PS1="[ ${prompt_user}${HOSTNAME}:${pbold}${PWD}${preset} ]${newline}${bang}${preset} " + PS1="[ ${prompt_user}${HOSTNAME}:${pbold}\w${preset} ]${newline}${bang}${preset} " } PROMPT_COMMAND=prompt_command # }}}