From 359dd854a9f5ace86caf9e4d0dbfe1de3de43b59 Mon Sep 17 00:00:00 2001 From: Marc Coquand Date: Tue, 7 May 2024 21:05:46 -0500 Subject: bash updates --- bash_profile | 2 +- bashrc | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bash_profile b/bash_profile index f813f35..e8ff3f6 100644 --- a/bash_profile +++ b/bash_profile @@ -5,7 +5,7 @@ if [ -f ~/.profile ]; then source ~/.profile; fi # Honor per-interactive-shell startup file if [ -f ~/.bashrc ]; then source ~/.bashrc; fi -export PS1="\\A \\e[1m \\W ${GUIX_ENVIRONMENT:+ (+)} \\e(B\\e[m" + export LIBSEAT_BACKEND=logind export EDITOR="zile" export TERM="linux" diff --git a/bashrc b/bashrc index 8b9c5f1..2d56374 100644 --- a/bashrc +++ b/bashrc @@ -1,5 +1,5 @@ alias grep="ugrep --exclude-dir=node-modules --exclude-dir=_build" -alias e="emacsclient -nw" +alias e="mg" alias pf="" alias g="git" alias rcup="rcup -d ~/rcm" @@ -33,7 +33,7 @@ parse_git_branch() { git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/\1 ∘︎ /' } -PS1='\A ${GUIX_ENVIRONMENT:+︎v }$(parse_git_branch)\W ' +PS1=' $(parse_git_branch)\W ' eval "$(zoxide init bash)" eval "$(direnv hook bash)" -- cgit v1.2.3