No alias for suro or ks?
But how else would you run sl, the steam locomotive?

I know you're joking but:

\sl or command sl.

I'd say "check your shell documentation" but they're both almost impossible to search for. They both work in Bash. Both skip aliases and shell functions and go straight to shell builtins or things in the $PATH.

There's also /usr/bin/sl but you knew that.

There’s also /usr/bin/sl but you knew that.

$ ls /usr/bin env

I guess I could env sl?

Dangit. I always forget about env. Yes, that ought to work.
Oh, I was just remarking that I don’t have anything but env installed in there. I wouldn’t be able to run sl by its full path unless I go searching for wherever that is

Whoa. What distro is it that puts everything in /bin, or at least, practically nothing in /usr/bin?

I use a Debian that actually symlinks /bin to /usr/bin so that they're one and the same (annoying some purists), but even on systems where they are (or were) used for separate purposes, I thought that each had a significant number of commands in them.

(To paraphrase man hier, /bin is for necessary tools and /usr/bin is for those that are nice to have.)

They’re likely using NixOS. It makes /use/bin/env and /bin/sh for compatibility but nothing else goes in those dirs

NixOS, all packages are in /nix/store/, where each package had its own folder (simplified because there’s the hashing stuff but idk how to explain that)

This allows you to have multiple versions of the same package, on the same system, for example.

Get thefuck out, and move on.
GitHub - nvbn/thefuck: Magnificent app which corrects your previous console command.

Magnificent app which corrects your previous console command. - nvbn/thefuck

GitHub
Seems like something I’d make around the 4th no sleep day. Nice.
The amount of times I’ve spent 3-4 days to write a script that will save me a total of maybe 2hours of my time over a lifetime of use.
This is so funny and useful
I used the this for years to git push new branches to origin until I figured out the new setting that does it automatically
Yes, but it’s funnier that way
Absolutely, used it on my work computer as well and sometimes had it in my screenshare

A core memory

I forgot this existed

TheFuck is wrong with me

Thanks. Leaving a comment to remind me to install this.

Same. This is both useful and hilarious.

tldr is another good tool if you’re just learning cli tools.

thanks for the suggestion - i like that man pages are thorough, but the probability that i need some option that 0,5% of users need is pretty low for now

Exactly.

Man pages are not bad, but often it helps to have a few examples of how people use the tool.

That's unmaintained pay-respects is a maintained replacement.
nice i didnt know it's also on codeberg now, why is there a &gt at the end of the links
Do you mind attaching a screenshot of what you’re seeing and what client you’re using? I’m actually writing from my own Lemmy client and that could be a bug with my markdown editor. Or it could be how your client renders markdown.
Blorp – A Threadiverse client for Lemmy and PieFed

Blorp – A Threadiverse client for Lemmy and PieFed. Web, iOS & macOS, and more!

i am using piefed normal website this is what displays
- <https://github.com/iffse/pay-respects&gt;
- <https://codeberg.org/iff/pay-respects&gt;
Yeah I reached out to PieFed devs already, thanks. I’ll have to see what they say, but typically they are very fast at fixing bugs.

Yeah that looks like an issue with their markdown rendering. I tried to look how they render markdown, but sync is closed source :(

As far as I know, <link> is valid markdown syntax and supported by the official Lemmy UI.

Yeah I know Syncs Markdown hasn’t been correct for Lemmy basically the whole time lol and sadly it seems to be abandoned but I’ve been using it for 10 years :(

Here’s how it looks in Thunder if that helps:

This is just self promo, but you should try my Lemmy/Piefed client. Fully open source and very actively maintained!

Blorp – A Threadiverse client for Lemmy and PieFed

Blorp – A Threadiverse client for Lemmy and PieFed. Web, iOS & macOS, and more!

Looks really nice! But do you have any debug for logging in? I’m 100% certain that I’m logging in correctly, but it says invalid login every time.

I think I added better error messaging in this preview release of the next version.

v1-9-11.blorp.pages.dev

Blorp

Ah, I got in. Just like the Swedish king, I’m actually dyslexic haha.

I’d love to be able to disable animations though. And be able to zoom when viewing image posts. And be able to view NSFW by holding in on the main feed (it seems like holding in on any image copies it to my Android clipboard?). And opening links via WebView or such instead of Chrome custom tabs could be cool, as I like how it’s basically a fresh session every time. And swiping to upvote is nice too.

(I know you didn’t ask for feedback, because it’s still really nice how it is now; just some ideas if you’re bored – no idea if it’s practical it’d even be implement this kind of stuff inwhat I think is a progressive webapp?) Keep up the great work! /Sent from my Blorp

First off, please fire away with the feedback. Though I can’t make any promises.

In the next update

  • Long press will be disabled
  • Images will be zoom able

Not planned (yet)

  • preferred browser, this is a good idea
  • Is double tap to like image ok?
  • Maybe I can disable animation on reduce motion setting, then I also get accessibility
  • NSFW I have to think about cause iOS is very strict with that. But I could have a separate setting for Android

I love how it’s not just a fork, it’s a rewrite in Rust. Of course it is.

quietly cargo installs pay-respects in his corner

Should have left ‘sl’ for the train!
Debian -- Details of package sl in trixie

Correct you if you type `sl' by mistake

Mint comes with dir aliased for ls, and the only other one I regularly use is cls for clear.

Yes I grew up on DOS, how can you tell?

I got used to all the other Linux commands, but I had to make an alias for md=mkdir. Why that already isn’t a thing is beyond me.
I have a simple way of getting around that - I only make directories in the GUI.
Powershell does the opposite, having an alias from ls to whatever the powershell equivalent of dir is.

It gets better. PowerShell 5, which is still the default installation on Windows 11, aliases curl and wget to Invoke-WebRequest. The fucked-up part is that Win11 includes the real curl too, but the alias shadows it, and you have to use curl.exe. The even more fucked-up part is that Invoke-WebRequest still uses Internet Explorer to parse the result, and will panic if -UseBasicParsing is not passed every time, or IE isn’t installed and initialized.

I used to develop applications in PowerShell. I still wear the mental scars.

The even more fucked-up part is that Invoke-WebRequest still uses Internet Explorer to parse the result, and will panic if -UseBasicParsing is not passed every time, or IE isn’t installed and initialized.

That is absolutely horrifying.

And curl, and several others

People type clear instead of CTRL+l?

I’ve never had a terminal that that didn’t work in. Or at the very least have a shortcut be able to be set for.

I often use clear when I need to rerun the same command and want to see the output in isolation each time, so I might run clear && ./build.sh and then just press the up arrow and run it again.

But I think, many people are also just not aware of the keyboard shortcut or don’t care to remember it, since they don’t use it often and clear is easy enough to guess.

I guess I’m the other kind of brain. I tap Ctrl+l on cooldown

CTRL+L and clear command do two different things (at least when using Bash on Debian):

  • CTRL+L scrolls the terminal output one screen so you don’t see your previous output;
  • clear does indeed clear a screen, and your previous command history is available only through the history command.

If you want CTRL+L to clear your screen you can add following to the .bashrc:

bind -x ‘“\C-l”:clear’

Note that it might not work if you use Vi mode inside Bash.

This is in my ~/.aliasrc :)

Just install the train app
Nah, I’ve had this in here for +15 years now 😃
alias nano=‘fail; vim’
alias emacs=‘fail; vim’