we do a little shell scripting
-
@coolbean still , obscureware that i dont wanna depend on
like , even fish is too "obscure" for my taste
@fiore i just dont get why
its your system. if you really need to you can package the shell yourself. sure its nice if others can copy things from your dotfiles easily but realistically i just dont think thats a common thing -
@fiore i just dont get why
its your system. if you really need to you can package the shell yourself. sure its nice if others can copy things from your dotfiles easily but realistically i just dont think thats a common thing@coolbean i just like to reduce the dependencies i have on stuff , yknow
like . the shell is ok . its fine . its not pretty , but . its functional . i can live w it
-
@coolbean i just like to reduce the dependencies i have on stuff , yknow
like . the shell is ok . its fine . its not pretty , but . its functional . i can live w it
@coolbean also remember : i LOVE complaining about shit
-
@fiore oh i mightve just not been escaping the % and # correctly. i have to put a singlequote before those to escape them
-
@fiore oh i mightve just not been escaping the % and # correctly. i have to put a singlequote before those to escape them@fiore friggin ^ to concatenate ' to escape and then the character. this is stupid
-
@fiore anyway now the syntax error is on the last } line. fascinating
-
@coolbean whack-a-mole
-
@fiore this would be so much easier of they just gave me a fucking switch statement oh my fucking god
-
@fiore this would be so much easier of they just gave me a fucking switch statement oh my fucking god
@coolbean
rc(1) - a shelldoesnt have that ???????? downgrade moment ?? -
@fiore theres a github discussion about adding a switch statement and noones really opposed to it since itd simplify things when enumerating a variable but this isnt even what im doing im evaluating 2 variables to make for ultimately 3 cases
-
@fiore theres a github discussion about adding a switch statement and noones really opposed to it since itd simplify things when enumerating a variable but this isnt even what im doing im evaluating 2 variables to make for ultimately 3 cases
@coolbean imean its crazy tho , i think when pike made rc , the bourne shell already had
casestatements ? -
@coolbean imean its crazy tho , i think when pike made rc , the bourne shell already had
casestatements ?@fiore rc removed a lot of things. the goal was simplifying things to improve composeability -
@fiore rc removed a lot of things. the goal was simplifying things to improve composeability@fiore and honestly the way im approaching this is kinda elegant. first checking if the user is root then checking if the user is not connected via ssh and then knowing the user is not root and connected via ssh so both host and user need to be displayed
-
@fiore and honestly the way im approaching this is kinda elegant. first checking if the user is root then checking if the user is not connected via ssh and then knowing the user is not root and connected via ssh so both host and user need to be displayed@fiore i keep approaching it differently which is funny
also fun fact but the default prompt for es is ; because it means you can copy the entire terminal window and rerun your commands -
@fiore i keep approaching it differently which is funny
also fun fact but the default prompt for es is ; because it means you can copy the entire terminal window and rerun your commands@coolbean iknow !! someone told me a while back .. fascinating ithink
-
-
@shitpostalotl@axfedi.derg.rest @coolbean prolly
-
R AodeRelay shared this topic