Compare commits
2
Commits
226aa5dd6d
...
132ae721e7
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
132ae721e7 | ||
|
|
d25e94d267 |
No files matched your search
@@ -1,11 +1,33 @@
|
||||
# 2024-02-10 Hyperling
|
||||
|
||||
## Environment Setup ##
|
||||
|
||||
export PATH="~/bin:$PATH"
|
||||
|
||||
if [[ -e ~/.env ]]; then
|
||||
source ~/.env
|
||||
fi
|
||||
|
||||
# PS1
|
||||
|
||||
PURPLE=`tput setaf 5`
|
||||
ORANGE=`tput setaf 214`
|
||||
GREEN=`tput setaf 2`
|
||||
|
||||
RED=`tput setaf 9`
|
||||
SCARLET=`tput setaf 1`
|
||||
YELLOW=`tput setaf 226` # 11 does not seem to work
|
||||
|
||||
GRAY=`tput setaf 8`
|
||||
|
||||
RESET=`tput sgr0`
|
||||
BOLD=`tput bold`
|
||||
if [[ "`whoami`" == "root" ]]; then
|
||||
export PS1="$BOLD$ORANGE[$SCARLET\t $RED\w$ORANGE]$GRAY\\$ $RESET"
|
||||
else
|
||||
export PS1="$BOLD$PURPLE[$ORANGE\t $GREEN\w$PURPLE]$RESET\\$ "
|
||||
fi
|
||||
|
||||
## Aliases ##
|
||||
|
||||
# Quickly log onto production server.
|
||||
|
||||
@@ -40,7 +40,7 @@ if [[ $1 == "skip" ]]; then
|
||||
else
|
||||
echo -e "\n`date` - Install Software"
|
||||
pkg install -y \
|
||||
openssh tsu vim htop git cronie man zip \
|
||||
openssh tsu vim htop git cronie man zip ncurses-utils \
|
||||
nmap traceroute wget rsync \
|
||||
ffmpeg imagemagick \
|
||||
kotlin php nodejs python libllvm hugo
|
||||
|
||||
Reference in new issue
Block a user