Earlier quoted context omitted.
Except for tar. But there I use the mnemonic “xtrackt ze files”
Neat. Now do rsync.
When I stopped trying to self-optimize, I got better
101–110 of 110 posts
Re: When I stopped trying to self-optimize, I got better
#102Re: When I stopped trying to self-optimize, I got better
#103Earlier quoted context omitted.
I actually find it easier to memorize the flags than to memorize the commands I created myself, because they're a lot more descriptive than short commands like in your examples. The few times I do come up with my own stuff, it's a 2+ line function (or full shell script) that can't be duplicated in a single command and can't be done as an alias.
Except for tar. But there I use the mnemonic “xtrackt ze files”
Re: When I stopped trying to self-optimize, I got better
#104Earlier 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="…
Ctrl+R is nice, and was a big quality of life improvement when I first found out about it. Recently I've found a similar improvement going from "plain old" ctrl+r for history to a set of zsh extensions plus fzf - my current set of extensions is zsh-autocomplete, zsh-autosuggestions, zsh-syntax-highlighting, zsh-history-substring-search, zsh-histdb, and fzf-histdb.
Re: When I stopped trying to self-optimize, I got better
#105Earlier quoted context omitted.
I've been reflecting on how the last few years have been going for me, regarding my tendency to have no structure, no consistency, plenty of burnout, and no job lasting longer than a year and a half, and have consequently been reversing course on what you describe, especially now that I have medication. Long, long before I had an ADHD diagnosis, I struggled with the same pattern of working intensely for whatever amou…
I see what you are saying. You can indulge too much. There is a certain amount of discipline required. In my method, I have to work for the 20 mins. Essentially practice focusing, work through the restlessness. I also have things during the 20 mins to help me stretch it out - such as sitting outside while working (or have window wide open) or TV and music on for the background noise. For the 10 mins of distractions,…
Agreed. Most chores only take 10 mins if you're going for it.
Re: When I stopped trying to self-optimize, I got better
#106Earlier quoted context omitted.
Ctrl+R is nice, and was a big quality of life improvement when I first found out about it. Recently I've found a similar improvement going from "plain old" ctrl+r for history to a set of zsh extensions plus fzf - my current set of extensions is zsh-autocomplete, zsh-autosuggestions, zsh-syntax-highlighting, zsh-history-substring-search, zsh-histdb, and fzf-histdb.
That sounds super similar my setup ( https://github.com/bbkane/dotfiles/tree/master/zsh ). I'll check out a few of those I haven't yet.
For tab-completion I actually prefer the builtin zsh completer set to use the menu mode - this is one of the big improvements you get with zsh over bash / etc to my mind. I have in .zshrc
zstyle ':completion:*' menu select=2 select=long interactive
You can set it to use your ls colors with something like zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS}"Re: When I stopped trying to self-optimize, I got better
#107Earlier quoted context omitted.
If your utilities are written as self-contained exported Bash functions, you could concatenate them all in a single file (say, `utils.sh`), with a single line at the end: exec /bin/bash Then you could do something like: ssh hostname@address -tt bash -s And have all your utilities available on the remote machine :)
Does this work for aliases?
Re: When I stopped trying to self-optimize, I got better
#108Earlier quoted context omitted.
Optimising the addition of a few flags to a command is alin to optimising the length of variable names. I find that typing out flags gives me plenty of time to think about what I am doing anyway.
Yes, nothing says productivity like spending half and hour to find the right flags every time you need to use something outside the most common unix userland... or getting them subtly wrong in some production shell script...
Re: When I stopped trying to self-optimize, I got better
#109I 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…
The funny thing about ADHD is that the "topic" of ADHD is a trap for ADHD people in itself. Being aware of ADHD might initially seem like a good thing, but then it becomes a constant thing to "optimize" for. It becomes ever-present. "Could this behavior/issue/problem be my ADHD?".
The idea that awareness of your medical issues is somehow an affliction in itself is an incredibly condescending idea.
Re: When I stopped trying to self-optimize, I got better
#110Earlier quoted context omitted.
If your utilities are written as self-contained exported Bash functions, you could concatenate them all in a single file (say, `utils.sh`), with a single line at the end: exec /bin/bash Then you could do something like: ssh hostname@address -tt bash -s And have all your utilities available on the remote machine :)
Does this work for aliases?