48
Roast my aliases! (lemmy.world)
# here is where my aliases go yo

alias alias-edit="vim ~/.local/config/alias_config && source ~/.local/config/alias_config && echo 'Alias updated. \n'"


## Modern cli
alias ls="exa"
alias find="fdfind"

## System 76
alias battery-full="system76-power charge-thresholds --profile full_charge"
alias battery-balanced="system76-power charge-thresholds --profile balanced"
alias battery-maxhealth="system76-power charge-thresholds --profile max_lifespan"

## Maintenance
alias update-flatapt="sudo apt update && sudo apt upgrade -y && flatpak update --assumeyes"

## Misc
alias tree="exa --tree"

## Incus
alias devi-do="sudo incus exec dev0 -- su -l devi"

## Some programs
alias code="flatpak run com.visualstudio.code"
~                                                
you are viewing a single comment's thread
view the rest of the comments
[-] user@lemmy.one 3 points 1 month ago* (last edited 1 month ago)

I always do that. Is that bad on pop os/fedora? I wouldn't know any different. Selectively choose what to update?

[-] MicrowavedTea@infosec.pub 2 points 1 month ago

Apparently apt has a stroke sometimes. I don't think I've had an update fuck up this bad but it's better to read the output so you know what changed in case something stops working.

[-] Draghetta@lemmy.world 3 points 1 month ago

That’s by no means a routine upgrade though, the guy just “upgraded to” backports which you’re not even supposed to do. Not comparable to the soothingly boring apt upgrade of Debian stable.

[-] MicrowavedTea@infosec.pub 1 points 1 month ago

True, it's just an example to always look at the output. I've definitely used that in Fedora to reinstall packages when something stopped working after an upgrade.

(Maybe this doesn't happen by itself in Debian but I wouldn't trust Ubuntu for example)

this post was submitted on 24 Oct 2024
48 points (96.2% liked)

Linux

48366 readers
1511 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS