From cc1fdeca4bf8b47ed9cb7ab207222ec1e0107f11 Mon Sep 17 00:00:00 2001 From: scbj Date: Tue, 1 Apr 2025 15:59:47 +0200 Subject: [PATCH] starship config: added symbol for git stash --- bashrc/.bashrc | 5 ++--- starship/.config/starship.toml | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/bashrc/.bashrc b/bashrc/.bashrc index 97d98c9..50cf811 100644 --- a/bashrc/.bashrc +++ b/bashrc/.bashrc @@ -31,13 +31,12 @@ alias ls='ls -hal --color=auto' alias list='eza -lao --no-permissions --group-directories-first -s=ext --color=always --time-style long-iso' if $(which rg >/dev/null); then - alias grep='rg --color=always -n -e' + alias rg='rg --color=always -n -e' + alias rgi='rg -i -n -A 1 -B 1 --color=always -e' else alias grep='grep --color=always' fi -alias rgi='rg -i -n -A 1 -B 1 --color=auto -e' - alias diff='diff --color=always' alias bashsource='source ~/.bashrc' diff --git a/starship/.config/starship.toml b/starship/.config/starship.toml index c6866c8..ee412f5 100755 --- a/starship/.config/starship.toml +++ b/starship/.config/starship.toml @@ -79,7 +79,7 @@ behind = ' ' diverged = ' ' up_to_date = ' ' untracked = ' ' -stashed = '' +stashed = ' ' modified = ' ' staged = ' ' renamed = ' '