From f8336e1c9cbd25800ec5cc348bcedfa3e55e4141 Mon Sep 17 00:00:00 2001 From: scbj Date: Mon, 28 Oct 2024 10:52:44 +0100 Subject: [PATCH] bashrc: diable duplicates in bash history starship: change command return code color --- bashrc/.bashrc | 3 +++ starship/.config/starship.toml | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/bashrc/.bashrc b/bashrc/.bashrc index 01ddbae..ec9375d 100644 --- a/bashrc/.bashrc +++ b/bashrc/.bashrc @@ -2,6 +2,9 @@ # ~/.bashrc # +# disable duplicates in command history +export HISTCONTROL=ignoreboth:erasedups + # If not running interactively, don't do anything [[ $- != *i* ]] && return diff --git a/starship/.config/starship.toml b/starship/.config/starship.toml index 1335d66..1dc2dfe 100755 --- a/starship/.config/starship.toml +++ b/starship/.config/starship.toml @@ -32,7 +32,7 @@ zx_cyan = "#15D7E5" zx_light_cyan = "#65E7F1" zx_dark_cyan = "#109EA8" zx_white = "#DFDFD0" -zx_gray = "#808078" +zx_grey = "#808078" zx_pastel_yellow = "#F1EAA2" # You can also replace your username with a neat symbol like  or disable this @@ -97,7 +97,7 @@ disabled = false style = "fg:zx_white" format = ' $symbol' symbol = '[\[](bold fg:zx_pastel_yellow)[err](bold)[\]](bold fg:zx_pastel_yellow)' -success_symbol = '[\[](bold fg:zx_dark_cyan)[ok](bold)[\]](bold fg:zx_dark_cyan)' +success_symbol = '[\[](bold fg:zx_grey)[ok](bold)[\]](bold fg:zx_grey)' [fill] disabled = false