# 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"
~                                                
  • @[email protected]
    link
    fedilink
    English
    3
    edit-2
    1 month ago

    I use flatpak, pacman, and yay for my software management. I unify the basic needs by using these aliases:

    SEARCH
    fsearch = flatpak search <input>
    psearch = pacman -Ss <input>
    ysearch = yay -Ss <input>
    
    REMOVE
    fremove
    premove
    yremove
    
    LIST
    flist
    plist
    ylist
    
    GARBAGE COLLECTION
    fcg
    pcg
    ycg
    
    And so on.
    

    Additionally I also gave ucg as well as an all-in-one garbage collector command.