From d6554480018b7f68aa6c9177f7668c60b5f0a846 Mon Sep 17 00:00:00 2001 From: Anthony Perkins Date: Fri, 18 Jun 2021 14:52:03 +0100 Subject: [PATCH] Single-line prompt --- roles/home-cli/files/bashrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/home-cli/files/bashrc b/roles/home-cli/files/bashrc index f9f6945..da7d37a 100644 --- a/roles/home-cli/files/bashrc +++ b/roles/home-cli/files/bashrc @@ -77,9 +77,9 @@ bind 'set completion-ignore-case on' if test $(id -u) -eq 0 then - export PS1="\[\033[01;35m\]┌─ \u @ \h ────\n└─ #\[\033[00m\] " + export PS1="\[\033[01;35m\]\u@\h\#\[\033[00m\] " else - export PS1="\[\033[01;35m\]┌─ \u @ \h ────\n└─ $\[\033[00m\] " + export PS1="\[\033[01;35m\]\u@\h\$\[\033[00m\] " alias dnf="dnf --cacheonly --nogpgcheck" fi