From fc88a32fbda010789d0272f5515ad3b2cad5efb2 Mon Sep 17 00:00:00 2001 From: anon Date: Sun, 3 Nov 2024 13:23:07 +0100 Subject: [PATCH] +heavyDuty situation --- bash/.bashrc | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/bash/.bashrc b/bash/.bashrc index 55c688f..8e546ed 100644 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -435,3 +435,39 @@ if [ "$USER" == "root" ]; then \033[0m" fi + +# So i have this problem, +# where i want expensive to load features from my shell, +# but i cant stand slow load times. +# Especially because in my workflow, +# im constantly opening and closing shells, +# quite often for a single command that runs +# under miliseconds. +# +# Feature examples that do not work out: +# + GRC +# + gigabloated highlighing from scripts +# +# Back in the day i had this idea that +# i would explicitly initialize "heavy duty" features +# if i knew the shell would persist for some time. +# This is the script .heavyDutyrc +# # Sourced by alias "heavyDuty" +# clear +# date +# neofetch +# +# prompt_color='\033[;33m' +# info_color='\033[1;37m' +# prompt_symbol=♜ +# export PS1=$prompt_color'┌──${debian_chroot:+($debian_chroot)──}('$info_color'\u${prompt_symbol}\h'$prompt_color')-[\[\033[0;1m\]\w'$prompt_color']\n'$prompt_color'└─'$info_color'#\[\033[0m\] ' +# PS2=$prompt_color'>\[\033[0m\]' +# +# GRC_ALIASES=true +# [[ -s "/etc/profile.d/grc.sh" ]] && source /etc/profile.d/grc.sh +# +# The thing is, i dont think i ever sourced it. +# Very similarly how i have a "programming mode" +# for Vim, which i NEVER enter. +# +# XXX: the above comment shall persist until i find a sane solution