commit 8ed93ac6e3b6c2eeeab8e2fb2524aadbbe3043b9 Author: Maxi Date: Sun Jun 15 00:14:59 2025 +0200 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 diff --git a/MOTD.LINES.MD b/MOTD.LINES.MD new file mode 100755 index 0000000..86b8f99 --- /dev/null +++ b/MOTD.LINES.MD @@ -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? diff --git a/PICTURES/MOTD.PNG b/PICTURES/MOTD.PNG new file mode 100755 index 0000000..9aca627 Binary files /dev/null and b/PICTURES/MOTD.PNG differ diff --git a/PICTURES/START.SVG b/PICTURES/START.SVG new file mode 100755 index 0000000..596fc50 --- /dev/null +++ b/PICTURES/START.SVG @@ -0,0 +1,40 @@ + + + + + + + + diff --git a/TERMINAL.ALIASES.SH b/TERMINAL.ALIASES.SH new file mode 100755 index 0000000..84d5a72 --- /dev/null +++ b/TERMINAL.ALIASES.SH @@ -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" diff --git a/TERMINAL.MOTD.SH b/TERMINAL.MOTD.SH new file mode 100755 index 0000000..36a29b0 --- /dev/null +++ b/TERMINAL.MOTD.SH @@ -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 \ No newline at end of file diff --git a/TERMINAL.PROMPT.SH b/TERMINAL.PROMPT.SH new file mode 100755 index 0000000..f963332 --- /dev/null +++ b/TERMINAL.PROMPT.SH @@ -0,0 +1 @@ +PROMPT='%B%F{magenta}%2~%f%b # ' diff --git a/TERMINAL.SH b/TERMINAL.SH new file mode 100755 index 0000000..db04d59 --- /dev/null +++ b/TERMINAL.SH @@ -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 \ No newline at end of file