Skip to content
Discussion options

You must be logged in to vote

Achieved it using:
https://github.com/rcaloras/bash-preexec

Steps:

  1. Install then copy the bash-preexec.sh file to your home dir: ~/.bash-preexec.sh
  2. Add to the END of your .bashrc the following. Make sure this is after your oh-my-posh eval line:
[[ -f ~/.bash-preexec.sh ]] && source ~/.bash-preexec.sh
preexec() {
    echo "";
}
  1. Done

However still curious if can be done without it?

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by LunaVaio
Comment options

You must be logged in to vote
2 replies
@LunaVaio
Comment options

@JanDeDobbeleer
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants