>>108614997
Right. Although I wanted a logic to make it red when it's non-zero so I figured I need a function.
local _exit=$?
test $_exit != "0" && echo -ne "\e[31m"
echo -ne "($_exit)\e[m"
No idea if that's retarded or not.
t. non-programmer
>>108611540
You installed a Bitcoin node and now the ledger is eating up all the space from your root filesystem? In such situations I'd configure the "offending" program to store its crap somewhere else.
Makes no sense on Linux to place those tiny binaries on other drives.