Non-SNS

Table of contents

  1. Setting up bash (namely .bashrc)
    1. Ignoring case-sensitiveness in bash during auto-completion
    2. Force tab auto-complete to cycle through options
    3. Setting up your PS1 terminal outlooks
  2. Setting up git (namely .gitconfig)
    1. setting git alias
    2. setting git config email for github contributions
  3. Setting up git sudo users (under sudoers)
    1. /etc/sudoers.d

Setting up bash (namely .bashrc)

Ignoring case-sensitiveness in bash during auto-completion

bind 'set completion-ignore-case on'

Force tab auto-complete to cycle through options

bind '"\t":menu-complete'

Setting up your PS1 terminal outlooks

Please add this line back to your PS1 Jekyll settings prvents me from adding percentage-curly brackets together!!!

PS1+=”[${white}][\D{%Y/%m/%d %H:%M:%S}]”; #TIME

#--------------------
# PS1 profile setup
#--------------------
orange=$(tput setaf 166);
yellow=$(tput setaf 228);
green=$(tput setaf 71);
black=$(tput setaf 16);
blue=$(tput setaf 27);
white=$(tput setaf 15);

bold=$(tput bold);
reset=$(tput sgr0);


PS1+="\[${blue}\]\u";
PS1+="\[${white}\]:";
PS1+="\[${orange}\]\h";
PS1+="\[${black}\] ";
PS1+="\[${green}\]\w";
PS1+="\[${white}\] \$ ";
PS1+="\[${reset}\]";
export PS1;

Setting up git (namely .gitconfig)

setting git alias

[alias]
    gogogo = "!f() { git add -A && git commit -m \"$@\" && git push; }; f"

setting git config email for github contributions

Just type this into your terminal, no need to source

git config --global user.email "your@email.com"

Setting up git sudo users (under sudoers)

/etc/sudoers.d

  1. sudo su
  2. cd /etc/sudoers.d/
  3. CAT a sudo user (i.e. should be rtdev ALL=(ALL) NOPASSWD: ALL)
  4. vi new_sudo_user and add the information onto it
  5. :x