change bash prompt default browser
Prithu Goswami pg@prithu.dev
Tue, 23 Apr 2024 14:07:00 +0530
2 files changed,
11 insertions(+),
7 deletions(-)
M
home/.bashrc
→
home/.bashrc
@@ -117,12 +117,17 @@ #alias ls='ls'
#PS1='\[\033[34m\][\u@\h\[\033[01;00m\] \w\[\033[34m]\]\[\033[00m\]$ ' -# PS1="\[\033[01;34m\][\[\033[01;00m\]\w\[\033[01;34m\]]\[\033[01;00m\]\[\033[01;32m\]\$(git branch 2>/dev/null | grep '^*' | colrm 1 2 | sed 's/^/ (/' | sed 's/$/)/') \[\033[01;00m\]\n› " -PS1="\w\[\033[01;34m\]\[\033[01;00m\]\[\033[01;32m\]\$(git branch 2>/dev/null | grep '^*' | colrm 1 2 | sed 's/^/ (/' | sed 's/$/)/') \[\033[01;00m\]› " +# ⯈ (Right arrow) +# 🞂 (Right arrow shorter) +# 🡲 (Right arrow shorter) +# ❯ (angle bracket) +# › (angle bracket) +PS1="\e[01;34m[\[\e[1;00m\]\w\[\e[01;34m\]]\[\e[01;00m\]\[\e[01;32m\]\$(git branch 2>/dev/null | grep '^*' | colrm 1 2 | sed 's/^/ (/' | sed 's/$/)/') \[\e[01;00m\]\n🞂 " +# PS1="\w\[\033[01;34m\]\[\033[01;00m\]\[\033[01;32m\]\$(git branch 2>/dev/null | grep '^*' | colrm 1 2 | sed 's/^/ (/' | sed 's/$/)/') \[\033[01;00m\]› " -#PS1='\[\033[01;32m\]ॐ [\[\033[37m\]\w\[\033[32m\]]\[\033[00m\] ' -#PS1='\[\033[01;32m\]⮞ [\[\033[37m\]\w\[\033[32m\]]\[\033[00m\] ' -#PS1='\[\033[01;32m\]🡲 [\[\033[37m\]\w\[\033[32m\]]\[\033[00m\] ' +# PS1='\[\033[01;32m\]ॐ [\[\033[37m\]\w\[\033[32m\]]\[\033[00m\] ' +# PS1='\[\033[01;32m\]⮞ [\[\033[37m\]\w\[\033[32m\]]\[\033[00m\] ' +# PS1='\[\033[01;32m\]🡲 [\[\033[37m\]\w\[\033[32m\]]\[\033[00m\] ' #PS1='\[\033[01;32m\]● [\[\033[37m\]\w\[\033[32m\]]\[\033[00m\] ' [[ -f ~/bin/bash_prompt.sh ]] && . ~/bin/bash_prompt.sh@@ -146,4 +151,3 @@ }
complete -C /usr/bin/terraform terraform [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion -
M
home/.profile
→
home/.profile
@@ -1,7 +1,7 @@
# export PATH="$PATH:$(du $HOME/bin/ | cut -f2 | tr '\n' ':' | sed 's/:$//')" export EDITOR="/usr/bin/vim" # export BROWSER="/usr/bin/firefox-developer-edition" -export BROWSER="/usr/bin/chromium" +export BROWSER="/usr/bin/firefox" export DMENU_ARGS="-nb "#000" -sb "#FFF" -sf "#000" -h 20" export CM_SELECTIONS="clipboard" export TERMINAL="/usr/local/bin/st"