why haven't you added "screenfetch -t" to your ~/.bashrc, Sup Forums?
Why haven't you added "screenfetch -t" to your ~/.bashrc, Sup Forums?
Why would I want to have to clear the terminal window as soon as it opens? Sounds obnoxious. Besides, I don't have screenfetch installed.
the whole point is to not clear it. It just looks awesome bro like a hacker or something it's cool
\! on the front of you're $PS1 is a tweak that's actually useful.
Any others I've seen on Sup Forums are just faggotry.
because I don't post screenshots of my terminal in stupid threads like this, and I am not a distro-hopping autist who needs a script to remember what OS he is running.
umad bro
But why?
Not as mad as (You), missed quads by 4 and by 5 boy.
>9999
>0000
Hmm, jelly?
>not using superior fish shell
>2018
At first I was like "cool", but then I was like "fortune | cowsay would be better than screenfetch", but then I was like "Why not both?"
Sup mah nigga
Because i already added fortune | lolcat to it
That space is taken
alias cowtop="top -b -n 1 | cowsay -n"
# Gather Sysinfo
arch=$(uname -m)
kernel=$(uname -r)
if [ -n "$(command -v lsb_release)" ]; then
distroname=$(lsb_release -s -d)
elif [ -f "/etc/os-release" ]; then
distroname=$(grep PRETTY_NAME /etc/os-release | sed 's/PRETTY_NAME=//g' | tr -d '="')
elif [ -f "/etc/debian_version" ]; then
distroname="Debian $(cat /etc/debian_version)"
elif [ -f "/etc/redhat-release" ]; then
distroname=$(cat /etc/redhat-release)
else
distroname="$(uname -s) $(uname -r)"
fi
# Bash Prompt Customizations
# Bashline? bl? Yeah, good enough...
bashline=""
# Tags for bash prompt
sshbl="" # SSH Status Tag
distbl="" # Host Tag
pathbl="" # Path Tag
userbl="" # User Tag
if [ -n "$SSH_CLIENT" ]; then
sshbl='\[\e[0;33m\][ssh]'
fi
case ${distroname,,} in
*"ubuntu"*)
distbl='\[\e[0;35m\][ub]'
;;
*"fedora"*)
distbl='\[\e[0;34m\][fe]'
;;
*"centos"*)
distbl='\[\e[0;31m\][ce]'
;;
esac
case $USER in
root)
userbl='\[\e[0;31m\][root]'
;;
esac
pathbl='\[\e[0;37m\][\h:\w]'
bashline=${sshbl}${distbl}${userbl}${pathbl}
export PS1=${bashline}'\[\e[0m\]\$ '
How about something cleaner and still useful for multi-distro environments?
fortune | cowsay | lolcat
are there alternative sources for fortune
>arch user
>cares about looking like a 1337 h4xx0r more than about actually being productive
P O E T R Y
O
T
T
E
R
Y
I don't want strangers to know what garbage-tier rig i'm actually using.
The only thing I have in my .bashrc is "exec fish"
You're nuts but I like it.