Non-SNS
Table of contents
- Setting up bash (namely
.bashrc) - Setting up git (namely
.gitconfig) - Setting up git sudo users (under sudoers)
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"Note, if you wanna do git operations via HTTPS connection, you can do so by requesting a personal access token + adding that info to ` ~/.gitconfig`
Setting up git sudo users (under sudoers)
/etc/sudoers.d
- sudo su
- cd /etc/sudoers.d/
- CAT a sudo user (i.e. should be rtdev ALL=(ALL) NOPASSWD: ALL)
- vi new_sudo_user and add the information onto it
:x