From 02c351baa74657f6246c5da760f889a1b1757a05 Mon Sep 17 00:00:00 2001 From: Hippolyte Chauvin Date: Fri, 13 Oct 2023 09:33:12 +0200 Subject: [PATCH] =?UTF-8?q?Correction=20:=20backslash=20pour=20autoriser?= =?UTF-8?q?=20l'interpr=C3=A9tation=20du=20$=20dans=20le=20PS1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- etc/bash/bashrc.d/50-ahurac.bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/bash/bashrc.d/50-ahurac.bashrc b/etc/bash/bashrc.d/50-ahurac.bashrc index 97346cf..e3e9017 100644 --- a/etc/bash/bashrc.d/50-ahurac.bashrc +++ b/etc/bash/bashrc.d/50-ahurac.bashrc @@ -3,7 +3,7 @@ if [ "$(id -u)" -eq 0 ]; then ps1_color_2=32 fi -PS1="\033[0m${ps1_brackets:0:1}\033[1;${ps1_color_1}m\u@\h\033[0m \033[1;${ps1_color_2}m\W\033[0m${ps1_brackets:1:1}\$ " +PS1="\033[0m${ps1_brackets:0:1}\033[1;${ps1_color_1}m\u@\h\033[0m \033[1;${ps1_color_2}m\W\033[0m${ps1_brackets:1:1}\\$ " shrc_d=/usr/local/etc/sh/shrc.d if [ -d "$shrc_d" ]; then