Skip to content

Instantly share code, notes, and snippets.

@ZachSaucier
Last active September 1, 2022 17:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ZachSaucier/5f49925e16261c35f62abe14fedea1d4 to your computer and use it in GitHub Desktop.
Save ZachSaucier/5f49925e16261c35f62abe14fedea1d4 to your computer and use it in GitHub Desktop.

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

then

source ~/.profile

(to make it run at the start, go to Terminal -> Preferences -> Profiles -> Shell -> Run command -> enter source ~/.profile; clear.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment