• 1 Post
  • 122 Comments
Joined 2 years ago
cake
Cake day: September 26th, 2022

help-circle













  • d_k_bo@feddit.detoLinux@lemmy.mlUbuntu Snap Hate
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    2 months ago

    You don’t even need to create aliases yourself. Flatpak creates wrapper scripts for every app that you install. Just symlink them into your PATH.

    ln -s /var/lib/flatpak/exports/bin/org.example.CliTool ~/.local/bin/cli-tool
    

    or if you are using a user remote

    ln -s ~/.local/share/flatpak/exports/bin/org.example.CliTool ~/.local/bin/cli-tool
    

    (Note: some lemmy clients render the the tilde in code blocks incorrectly)