Earlier quoted context omitted.
Everyone does this. Otherwise you'd go bat sh*t crazy trying to remember every intricate details of common tools. also using ctrl+r and filter through older commands (ctrl+r to cycle) is also necessary for good mental health. for example alias ll="lsd --icon never -l" alias lla="lsd --icon never -l -a" # all alias llr="lsd --icon never -l -r -a" # reversed alias lls="lsd --icon never -l -r -a -S" #by size alias llt="…
> alias ss="git status" ss is actually a 'socket stats' and will list all active connections while resolving their reverse dns name, be careful
When I stopped trying to self-optimize, I got better
51–60 of 110 posts
Re: When I stopped trying to self-optimize, I got better
#52Earlier quoted context omitted.
Fish's autocomplete makes life a lot easier, too. It's delightfully well designed.
I head great things about Fish but I never took the dive.
Being very obviously not Bash is a feature, not a bug, imo. It's usually pretty easy to turn Bash commands into Fish commands with the help of ChatGPT if you get stuck.
Re: When I stopped trying to self-optimize, I got better
#53Earlier quoted context omitted.
Everyone does this. Otherwise you'd go bat sh*t crazy trying to remember every intricate details of common tools. also using ctrl+r and filter through older commands (ctrl+r to cycle) is also necessary for good mental health. for example alias ll="lsd --icon never -l" alias lla="lsd --icon never -l -a" # all alias llr="lsd --icon never -l -r -a" # reversed alias lls="lsd --icon never -l -r -a -S" #by size alias llt="…
How did I not know about ctrl+r? Feeling slightly more optimized
Re: When I stopped trying to self-optimize, I got better
#54I think "self-optimize" is the wrong term to focus on. Imo, it's more about self-compassion / a more personal version of "psychological safety." Anecdotally, a few years ago I made a decision to run with my (ADHD driven) impulses when deciding what to spend my time on. It was difficult to let go, but I decided to let myself just fall behind with projects / work for a year or two (or until I was fired.) Long term, the…
Re: When I stopped trying to self-optimize, I got better
#55Re: When I stopped trying to self-optimize, I got better
#56Earlier quoted context omitted.
> alias ss="git status" ss is actually a 'socket stats' and will list all active connections while resolving their reverse dns name, be careful
thanks, I know :)
Re: When I stopped trying to self-optimize, I got better
#57Over the past year, I’ve made a deliberate effort to improve my “personal computing”, which for me is about how I use the shell. I start by trying to notice when I’m doing the same task multiple times and getting tripped up on the specific syntax or sequence of commands (i.e. what’s the Git command again to split certain files out of a previous commit into a separate one?) I will then create an alias, a shell script…
That's an interesting idea. Did you write a script to identify commands that you use repeatedly? I wonder how that could best be done?
Re: When I stopped trying to self-optimize, I got better
#58Over the past year, I’ve made a deliberate effort to improve my “personal computing”, which for me is about how I use the shell. I start by trying to notice when I’m doing the same task multiple times and getting tripped up on the specific syntax or sequence of commands (i.e. what’s the Git command again to split certain files out of a previous commit into a separate one?) I will then create an alias, a shell script…
Must be nice being able to work in the same shell every day, and one you have complete control over no less. For those of us ssh-ing into uncountable remote servers all day with unprivileged accounts, it's not really a practical option unfortunately.
Out of curiousity, these servers that you're dealing with, do you have to use them for long/focused work like writing or software development, or are these more like sysadmin interactions? Have you noticed any repeated commands or sequences you find yourself running over and over? Is there any opportunity for you to write local scripts that then SSH into the targets and run those commands on your behalf? Or locally use sshfs and manipulate files like they were local.
Re: When I stopped trying to self-optimize, I got better
#59Over the past year, I’ve made a deliberate effort to improve my “personal computing”, which for me is about how I use the shell. I start by trying to notice when I’m doing the same task multiple times and getting tripped up on the specific syntax or sequence of commands (i.e. what’s the Git command again to split certain files out of a previous commit into a separate one?) I will then create an alias, a shell script…
Everyone does this. Otherwise you'd go bat sh*t crazy trying to remember every intricate details of common tools. also using ctrl+r and filter through older commands (ctrl+r to cycle) is also necessary for good mental health. for example alias ll="lsd --icon never -l" alias lla="lsd --icon never -l -a" # all alias llr="lsd --icon never -l -r -a" # reversed alias lls="lsd --icon never -l -r -a -S" #by size alias llt="…