alias alias-edit="vim ~/.local/config/alias_config && source ~/.local/config/alias_config && echo 'Alias updated. \n'"
alias ls="exa"
alias find="fdfind"
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"
alias update-flatapt="sudo apt update && sudo apt upgrade -y && flatpak update --assumeyes"
alias tree="exa --tree"
alias devi-do="sudo incus exec dev0 -- su -l devi"
alias code="flatpak run com.visualstudio.code"
~
Opinion disregarded.
As an aside: I really wish flatpaks would put symlinks or something in
~/.local/bin
so you could just run them without theflatpak run
boilerplate.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.Oh, neat. Surprised that isn’t added to the default paths though.
It also still does the annoying name.like.this for binary names rather than just using normal names though.