zlatko

joined 1 year ago
[–] zlatko@programming.dev 4 points 11 months ago

Since when do Unix tools output 3,000 word long usage info? Even GNU tools don’t even come close…

[zlatko@dilj ~/Projects/galactic-bloodshed]$ man grep | wc -w
4297
[zlatko@dilj ~/Projects/galactic-bloodshed]$ man man | wc -w
4697
[zlatko@dilj ~/Projects/galactic-bloodshed]$ 
[–] zlatko@programming.dev 2 points 11 months ago

The article sure mentions 💩a lot.

[–] zlatko@programming.dev 4 points 11 months ago (2 children)

01.01.1970. Timestamp zero for the win.

[–] zlatko@programming.dev 1 points 11 months ago

No problem!

As an aside, I see we're bringing the strangers thing over from Reddit. I hope more of the fun and funny stuff gets over, I miss some of the light shitposting.

[–] zlatko@programming.dev 3 points 11 months ago (1 children)

Why not just cd $XDG_DOWNLOAD_DIR in the first place?

[–] zlatko@programming.dev 2 points 11 months ago

did you mean smuts?

[–] zlatko@programming.dev 2 points 11 months ago

XDG specifies the capital names, but to be nitpickingly technically precise, linux systems don't do this. It mostly is done by the distribution maintainers, and the XDG specs. A base system does not usually have a notion of anything beyond your $HOME.

Try adding a user: sudo adduser basicuser. If you ls -al ~basicuser you will see it's almost empty, just the .bashrc (or in my fedora, there's some .mozilla crap in /etc/skel that also gets bootstrapped).

[–] zlatko@programming.dev 1 points 11 months ago (2 children)

ln -s Downloads downloads FTW

[–] zlatko@programming.dev 8 points 11 months ago (4 children)

For bash, this is enough:

# Bash TAB-completition enhancements
# Case-insensitive
bind "set completion-ignore-case on"
# Treat - and _ as equivalent in tab-compl
bind "set completion-map-case on"
# Expand options on the _first_ TAB press.
bind "set show-all-if-ambiguous on"

If you also add e.g.CDPATH=~/Documents, it will also always autocomplete from your Documents no matter which directory you're on.

[–] zlatko@programming.dev -3 points 11 months ago

These technologies, although archaic, clumsy and insecure

Like cars? Or phones? Those are also archaic, clumsy and insecure technologies.