Skip to content

Commit 689da0c

Browse files
committed
update bashrc and clean up the prompt; fix RC
1 parent 4c72f05 commit 689da0c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.bashrc

+3-2
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,8 @@ function _update_ps1() {
169169
# turning off the eternal history for now
170170
#PROMPT_COMMAND="_update_ps1; ${PROMPT_COMMAND:+$PROMPT_COMMAND}"'echo $$ $USER \
171171
# "$(history 1)" >> ~/.bash_eternal_history'
172-
PROMPT_COMMAND="_update_ps1; history -a; history -c; history -r; ${PROMPT_COMMAND:+$PROMPT_COMMAND}"
172+
# PROMPT_COMMAND="_update_ps1; history -a; history -c; history -r; ${PROMPT_COMMAND:+$PROMPT_COMMAND}"
173+
PROMPT_COMMAND="history -a; history -c; history -r; ${PROMPT_COMMAND:+$PROMPT_COMMAND}"
173174

174175
#if [ -f "/opt/Data/Personal/repos/bash-git-prompt/gitprompt.sh" ]; then
175176
# GIT_PROMPT_ONLY_IN_REPO=1
@@ -195,7 +196,7 @@ PROMPT_COMMAND="_update_ps1; history -a; history -c; history -r; ${PROMPT_COMMAN
195196
# eval "$($HOME/bin/oh-my-posh init bash --config ~/.poshthemes/onehalf.minimal.omp.json)"
196197
eval "$($HOME/bin/oh-my-posh init bash --config ~/.poshthemes/ebd.minimal.omp.json)"
197198

198-
eval "$($HOME/bin/fasd --init auto)"
199+
# eval "$($HOME/bin/fasd --init auto)"
199200

200201
## Directory aliases
201202
export NC=/opt/Data/Personal/NextCloud

0 commit comments

Comments
 (0)