I’ve created a minimal fetch script on my Arch Linux system. It’s written in bash and has been successfully tested on Arch, Debian & Fedora. It works out of the box on Arch, but you do need to change the package count command to adapt it to work with different package managers other than pacman. Also make sure that you have lsb-release installed.

[ HERE IS A LINK TO THE CODE !! ]

  • Raccoonn@lemmy.mlOP
    link
    fedilink
    arrow-up
    5
    ·
    8 months ago

    Install nerd fonts & place the line below in your .bashrc

    bash export PS1='\[\e[0m\] \[\e[0m\] \[\e[0m\]'