• 7 Posts
  • 15 Comments
Joined 3 years ago
cake
Cake day: June 11th, 2023

help-circle












  • Finally someone asked about that!

    That’s an alias I made (with some help from the Arch Wiki) that lets me search the AUR for a package using fzf and then install it.

    alias get="paru -Slq | fzf --preview 'paru -Si {}' --layout=reverse --bind 'enter:execute(paru -S {})+accept'"

    (replace paru with your AUR helper of choice if different, requires fzf)

    Also, my neovim config is available in the link!









  • Move all your heavily modified config files into a git repository and host it somewhere. Then symlink all your config files to where they should be with ln -s ~/.config/whatever ~/gitrepo/whatever. That’s how you preserve your important configs.

    You can easily get a list of your installed packages (which you can keep in your repository) with apt list --installed > packages.txt. You can then format that list to one you can install from with sed -e "s-/.*$--" <packages.txt (or something, i don’t have apt, can’t test it fully).

    In fact, if someone here is more familiar with apt, please find a way to filter out packages that were not explicitly installed and reply to this comment with your solution.