new file: MOTD.LINES.MD

new file:   PICTURES/MOTD.PNG
	new file:   PICTURES/START.SVG
	new file:   TERMINAL.ALIASES.SH
	new file:   TERMINAL.MOTD.SH
	new file:   TERMINAL.PROMPT.SH
	new file:   TERMINAL.SH
This commit is contained in:
maxi 2025-06-15 00:14:59 +02:00
commit 8ed93ac6e3
7 changed files with 183 additions and 0 deletions

59
MOTD.LINES.MD Executable file
View file

@ -0,0 +1,59 @@
remember your origin.
anything worth having is worth fighting for.
never take for granted the place you called home.
never go easy.
it's not over yet.
alive and kicking.
it's all alright.
you little savage.
you little nightmare.
you've taken everything i had to believe in.
you took the stars out of my night sky.
es gibt nur gute und schlechte menschen, das war es, das ist es.
i know this place, it's deep inside of you.
you think you're mad, too unstable.
let's start getting ready for the final destiny.
does that make me crazy?
how does it feel to treat me like you do?
you took two pills and fell asleep.
hugging six rabbits and having pink nightmares.
we didn't start the fire, it was always burning since the world's been turning.
we didn't start the fire. no, we didn't light it, but we tried to fight it.
do you think you're better off alone?
and then she'd say it's okay, i got lost on the way.
i'm standing still, the world still moves.
oh, such a beautiful way to break my heart.
i had a dream, i got everything i wanted.
and if i'm being honest, it might have been a nightmare.
fight for unity, create a world of harmony.
du bist immer dann am besten, wenn's dir eigentlich egal ist.
'cause all my bones are begging me to beg for you.
denn du trägst keine liebe in dir.
and now we're left with broken promises.
been to hell and back, i can show you vouchers.
you kicked me when i was down.
what comes around goes around.
i'm wasting my time, got nothing to do.
crazy to think that you still call me psycho.
empty spaces, what are we living for?
the show must go on.
oh no, i've said too much.
wherever i am, i feel redemption.
so come on, let me entertain me you.
i don't fear nothing when i hear you say it's gonna be okay.
for this moment, i feel like we are living in mysterious times.
sitting in the rising sun, watching for the time to come.
do you see the light?
you can always call my name and i'll be there.
hold me close, you know that i was made for you.
when the night dies down, your light keeps shining through.
lately you have been searching for a darker place to hide.
hiding from the truth ain't gonna make this all okay.
wenn du schon auf den mund fällst, warum dann nicht auf meinen?
visionen gegen die totale television.
and i am feeling a bit peculiar.
i've never even met you, so what could i have done?
it just take a while to travel from your head to your fists.
now you're punching and you're kicking and now you're shouting at me.
people are people, so why should it be you and i should get along so awfully?
tell me now, how do i feel?

BIN
PICTURES/MOTD.PNG Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 192 KiB

40
PICTURES/START.SVG Executable file
View file

@ -0,0 +1,40 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
viewBox="0 0 48 48"
version="1.1"
id="svg2"
sodipodi:docname="kde-logo-white-gray-source.svg"
inkscape:version="1.3.2 (091e20ef0f, 2023-11-25, custom)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs2" />
<sodipodi:namedview
id="namedview2"
pagecolor="#ffffff"
bordercolor="#000000"
borderopacity="0.25"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="true"
inkscape:deskcolor="#d1d1d1"
inkscape:zoom="18.166667"
inkscape:cx="23.972477"
inkscape:cy="24"
inkscape:window-width="1920"
inkscape:window-height="1115"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svg2" />
<g
id="g2"
transform="matrix(1.2568463,0,0,1.2568463,-6.1643103,-6.2007194)">
<path
d="M 26.81721,6.0579518 20.839778,6.6301761 V 31.24346 l 5.914217,-0.890396 V 19.859082 l 7.94986,11.63921 6.232374,-1.972015 L 32.795757,18.332768 40.999999,7.7751349 34.640641,6.3130249 26.754134,16.870219 Z M 13.267815,12.055805 c -0.0675,0.0071 -0.132687,0.03685 -0.183377,0.08773 l -2.346015,2.345604 c -0.09864,0.09893 -0.11722,0.252309 -0.0445,0.372086 l 2.746696,4.523795 c -0.487167,0.819006 -0.877623,1.70206 -1.156683,2.633586 L 7.2413808,23.067473 C 7.1010857,23.096528 6.9999995,23.22084 6.9999995,23.36481 v 3.317296 c 0,0.140314 0.095983,0.261806 0.2311699,0.294475 l 4.8943156,1.196322 c 0.260998,1.07887 0.665445,2.101628 1.199988,3.041644 L 10.4925,35.534519 c -0.07904,0.120754 -0.06252,0.279776 0.0396,0.381468 l 2.345182,2.345604 c 0.09864,0.09836 0.252621,0.117637 0.372908,0.04535 l 4.43931,-2.696114 c 0.872008,0.503187 1.812374,0.899183 2.806296,1.16772 l 1.035783,4.980041 c 0.02915,0.141164 0.153885,0.241396 0.296928,0.241396 h 3.317709 c 0.139477,0 0.261191,-0.09524 0.294481,-0.232013 l 1.219994,-4.990317 c 1.024557,-0.276502 1.993542,-0.688627 2.886878,-1.21469 l 4.374709,2.868406 c 0.120287,0.07923 0.279379,0.06335 0.38148,-0.03869 l 2.346016,-2.34559 c 0.09924,-0.09921 0.117013,-0.252607 0.04409,-0.372072 l -1.597029,-2.631956 -0.516676,0.163387 c -0.07532,0.02381 -0.157452,-0.0043 -0.201758,-0.06987 0,0 -1.01864,-1.491165 -2.334206,-3.41665 -1.572715,3.077927 -4.772331,5.186372 -8.467241,5.186372 -5.249568,0 -9.505489,-4.256079 -9.505489,-9.505904 0,-3.861926 2.303503,-7.183248 5.610236,-8.671068 v -2.452313 c -0.601827,0.210541 -1.183648,0.464396 -1.73624,0.765418 -4.04e-4,-3.69e-4 -8.09e-4,-0.0014 -0.0024,-0.0028 l -4.477658,-2.936763 c -0.0603,-0.0394 -0.130199,-0.05513 -0.197673,-0.04819 z"
fill="#fcfcfc"
id="path2" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.8 KiB

48
TERMINAL.ALIASES.SH Executable file
View file

@ -0,0 +1,48 @@
# coming from ibm z/os this is so obvious, why isn't this default?
alias q="exit"
# mein zuhause, von dem ersten bis zum vierzehnsten stock
alias sido="sudo"
# we usually don't ask questions around here
alias ffmpreg="ffmpeg"
# ls should be colorful imo
alias ls="ls --color=auto"
# really need to save two letters
alias vi="nvim"
# being vim pilled makes other editors hard to use for me.
alias vim="nvim"
alias emacs="nvim"
alias nano="nvim"
alias pico="nvim"
# making editing easier for me.
alias viterm="nvim ~/.config/maximemelian/terminal"
alias vialias="nvim ~/.config/maximemelian/terminal.aliases"
alias viprompt="nvim ~/.config/maximemelian/terminal.prompt"
alias vimotd="nvim ~/.config/maximemelian/terminal.motd"
alias vilines="nvim ~/.config/maximemelian/motd.lines"
# directory navigation made easy
alias cd..="cd .."
alias cd...="cd ../.."
alias cdr="cd /"
# docker compose related foo
alias dcu="docker compose up -d"
alias dcd="docker compose down"
alias dcp="docker compose pull"
alias dcl="docker compose logs -f"
alias dce="nvim docker-compose.yml"
# yay sunsetted so paru is here to stay.
alias yay="paru"
# midnight commander wants to break out of zsh otherwise :^(
alias mc="mc -u"
# measuring and estimating files
alias countfiletype="find . -type f | awk -F. '{print $NF}' | sort | uniq -c | sort -rn | column -t"

16
TERMINAL.MOTD.SH Executable file
View file

@ -0,0 +1,16 @@
# making bold text easier to implement for me
bold=$(tput bold)
normal=$(tput sgr0)
# making sure you are on the right device. :^)
printf '%0.s*' {1..80}
echo
echo "you are" ${bold}$(whoami)${normal} "on" ${bold}$(hostnamectl hostname)${normal} "which is running" ${bold}$(uname -s -r)${normal}"."
# keep your sanity, maximilian.
viu -b -t -w 80 ~/.config/maximemelian/motd.png
# (non)motivational lines from music, tv shows, movies and books. whatever i found fitting to remind me.
echo ${bold}$(shuf -n1 ~/.config/maximemelian/motd.lines)${normal}
printf '%0.s*' {1..80}
echo

1
TERMINAL.PROMPT.SH Executable file
View file

@ -0,0 +1 @@
PROMPT='%B%F{magenta}%2~%f%b # '

19
TERMINAL.SH Executable file
View file

@ -0,0 +1,19 @@
# smallest prompt for obvious reasons.
source ~/.config/maximemelian/terminal.prompt
# aliases to make maximemelians life easier.
source ~/.config/maximemelian/terminal.aliases
# motd to keep maximemelian sane and happy.
source ~/.config/maximemelian/terminal.motd
# enabling zsh history
export HISTFILE=~/.zsh_history # saving in the home directory
export HISTSIZE=100000 # keeping a bunch of entries around
export SAVEHIST=100000
setopt append_history
setopt hist_ignore_dups
setopt hist_ignore_space
setopt hist_verify
setopt hist_save_no_dups