From c2835a4120f3ca7502ad0288c647f62b05d28b79 Mon Sep 17 00:00:00 2001 From: Von Random Date: Mon, 6 Mar 2017 12:20:55 +0300 Subject: [PATCH] use full path instead of \w in bash prompt --- bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bashrc b/bashrc index a13c0b1..16ad054 100644 --- a/bashrc +++ b/bashrc @@ -59,7 +59,7 @@ prompt_command() else bang="${pred}>" fi - ps_line1="[ ${prompt_user}${HOSTNAME}:${pbold}\w${preset} ]" + ps_line1="[ ${prompt_user}${HOSTNAME}:${pbold}$(pwd)${preset} ]" ps_line2="${bang}${preset} " PS1="${ps_line1}\n${ps_line2}" }