Simulates a nice constellation on canvas
A Pen by Acauã Montiel on CodePen.
# --------------------------------------------------------------------------- | |
# | |
# Description: This file holds all my BASH configurations and aliases | |
# | |
# Sections: | |
# 1. Environment Configuration | |
# 2. Make Terminal Better (remapping defaults and adding functionality) | |
# 3. File and Folder Management | |
# 4. Searching | |
# 5. Process Management |
Simulates a nice constellation on canvas
A Pen by Acauã Montiel on CodePen.
#!/bin/bash | |
# This motd.sh file is to be placed in /etc/profile.d/ to be executed upon | |
# successful login. | |
# ------------------------------------------------------------------------- | |
# Copyright (c) 2018 Mike Centola (mikecentola.com) | |
# | |
# This program is free software: you can redistribute it and/or modify it under | |
# the terms of the GNU General Public License as published by the Free Software |
I hereby claim:
To claim this, I am signing this object:
# Shell Prompt | |
PS1='\[\033]0;$TITLEPREFIX:$PWD\007\]' # set window title | |
PS1="$PS1"'[\[\033[32m\]' # change to green | |
PS1="$PS1"'@\h ' # user@host<space> | |
PS1="$PS1"'\[\033[33m\]' # change to brownish yellow | |
PS1="$PS1"'\W' # current working directory | |
if test -z "$WINELOADERNOEXEC" | |
then | |
GIT_EXEC_PATH="$(git --exec-path 2>/dev/null)" | |
COMPLETION_PATH="${GIT_EXEC_PATH%/libexec/git-core}" |