# 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"
~                                                
  • SavvyWolf
    link
    fedilink
    English
    97 hours ago

    vim

    Opinion disregarded.

    As an aside: I really wish flatpaks would put symlinks or something in ~/.local/bin so you could just run them without the flatpak run boilerplate.

    • Virual
      link
      fedilink
      English
      2
      edit-2
      3 hours ago

      They sorta do. Flatpak user install puts shims in ~/.local/share/flatpak/exports/bin/. You just need to add it to your path.

      I’m pretty sure flatpak system installs are at /var/lib/flatpak/exports/bin/ so you’d just add that to path.

  • @[email protected]
    link
    fedilink
    87 hours ago

    They’re too long. Geez, learn to implement shorthand or acronyms. What are you a monster?

    /roast

    • @Draghetta
      link
      88 hours ago

      If you haven’t special requirements then just use Debian stable, and never be worried about an update again.

      • TimeSquirrel
        link
        fedilink
        16 hours ago

        Headline: MAJOR EXPLOIT FOUND IN NEW LINUX KERNEL VERSION!

        Debian: business as usual…

    • @[email protected]
      link
      fedilink
      2
      edit-2
      6 hours ago

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

  • myrmidex
    link
    fedilink
    17 hours ago

    Added the exa aliases. Nice to see pacman points exa to eza as the former is unmaintained.