Skip to content

peterojo/bash.d

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BASH LOADER

Installation

  • clone repository on your home folder
    git clone git@github.com:peterojo/bash.d.git ~/.bash.d
  • run the installer -- installer will append to your original .bashrc script
    cd ~/.bash.d
    make install
    refresh

Defining the PS1 color

The file ~/.bash.d/conf/10-colored-ps1 offers a set of simple colored PS1. Makefile already has a list of scripts for switching colors, so just choose one of them

    make green
    refresh

The refresh command is an alias for source ~/.bashrc which simply reloads your terminal.

Note:

These instructions only work for bash users, users of alternative shells like zsh or fish have to edit commands in Makefile to update the corresponding files for their terminals e.g .zshrc for zsh users.

About

bash configuration

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 75.8%
  • Makefile 24.2%