Cool way to update the emoji in your terminal with zshh or bash

Joshycsm
1 min readFeb 27, 2020

--

export PS1="\[\e]2;\u@\h\a[\[\e[37;44;1m\]\t\[\e[0m\]]\[\e[0;31m\]$(parsegit_branch) \[\e[0;32m\]\W\n\[\e[0;34m\]//\[\e[0;31m\] ✌ "

from root directory

ls -a

then

code .bashrc

then

code .bash_profile

then to rerun file and update without closing out your terminal once you have updated local CHAR=””

source .bash_profile

THEN

export PS1="\[\e]2;\u@\h\a[\[\e[37;44;1m\]\t\[\e[0m\]]\[\e[0;31m\]$(parse_git_branch) \[\e[0;32m\]\W\n\[\e[0;34m\]//\[\e[0;31m\] ✌🏻 \[\e[0m\]"

zshh has a few more locations to checkout which can make it more difficult to debug and update….

need oh-my-zsh............... go into themes and then pick the one you want...... waiting for JS to update.....😱

Actually if you have zsh this might be one of many useful articles for that!

https://medium.com/@JorgeSantos7/changing-ps1-on-oh-my-zsh-aec231962002?sk=0d352fac0422763c3ef7b1d050a5cc92

--

--

Joshycsm
Joshycsm

Written by Joshycsm

Excited to learn, and even happier to teach.

No responses yet