From 86918941754ef41812c948d05c607674bf725d10 Mon Sep 17 00:00:00 2001 From: BarbUk Date: Sat, 16 Jan 2021 09:12:42 +0100 Subject: [PATCH] Clean bira --- themes/bira/bira.theme.bash | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/themes/bira/bira.theme.bash b/themes/bira/bira.theme.bash index ad1db5c6..ae8f0efe 100644 --- a/themes/bira/bira.theme.bash +++ b/themes/bira/bira.theme.bash @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +# shellcheck shell=bash SCM_THEME_PROMPT_PREFIX=" ${yellow}‹" SCM_THEME_PROMPT_SUFFIX="›${reset_color}" @@ -9,14 +9,14 @@ VIRTUALENV_THEME_PROMPT_SUFFIX="›${reset_color}" bold="\[\e[1m\]" if [ ${UID} -eq 0 ]; then - user_host="${bold_red}\u@\h${normal}${reset_color}" + user_host="${bold_red}\u@\h${normal}${reset_color}" else - user_host="${bold_green}\u@\h${normal}${reset_color}" + user_host="${bold_green}\u@\h${normal}${reset_color}" fi function prompt_command() { - local current_dir=" ${bold_blue}\w${normal}${reset_color}" - PS1="╭─${user_host}${current_dir}$(virtualenv_prompt)$(scm_prompt_info)\n╰─${bold}\\$ ${normal}" + local current_dir=" ${bold_blue}\w${normal}${reset_color}" + PS1="╭─${user_host}${current_dir}$(virtualenv_prompt)$(scm_prompt_info)\n╰─${bold}\\$ ${normal}" } safe_append_prompt_command prompt_command