Skip to content

Instantly share code, notes, and snippets.

@ZachSaucier

ZachSaucier/Bash theme.md

Last active Jun 26, 2019
Embed
What would you like to do?

Windows 10 setup

Step 1) In your .bashrc (you can use something like vim ~/.bashrc to get there), change the following:

This changes the color and removes the host from the bash prompt

if [ "$colo_-prompt" = yes ]; then
    PS1='${debian_chroot:+($debian_chroot)}\[\033[0;37m\]\u\[\033[00m\]:\[\033[01;96m\]\w\[\033[00m\]\$ '
else
    PS1='$(debian_chroot:+($debian_chroot)}\u:\w\$ '
fi
unset color_prompt force_color_prompt

Step 2) Still in your .bashrc, add the following to the bottom to change the ls colors

export LS_COLORS="ow=1;96:di=1;96:ex=0;97"

Step 3) Right click the application bar of your bash and click "Defaults". Then change the screen background to red: 39, green: 49, and blue: 34.


Mac setup

Put the following in your ~/.profile file:

export PS1='${debian_chroot:+($debian_chroot)}\[\033[0;37m\]\u\[\033[00m\]:\[\033[0;96m\]\w\[\033[00m\]\$ '

export CLICOLOR=1
export LSCOLORS=GxFxCxDxBxegedabagaced
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.