Skip to content

Conversation

@Kasui92
Copy link
Contributor

@Kasui92 Kasui92 commented Nov 8, 2025

Following the approach used in Omarchy, reorganized all Bash scripts into /defaults/ directory, made .bashrc easier to modify and introduced preventive checks for aliases relying on packages or libraries that might be uninstalled.

@Kasui92 Kasui92 mentioned this pull request Nov 26, 2025
@ImmortalSom
Copy link

ImmortalSom commented Nov 26, 2025

I want to give you some practical advice. In my work, I connect aliases that are clearly linked to applications in this way.

# Load custom aliases
if [ -d "$HOME/.config/aliases" ]; then
    for f in "$HOME/.config/aliases/"*.sh; do
        [ -f "$f" ] && source "$f"
    done
fi

app-lazygit.sh add

    mkdir -p ~/.config/aliases
    printf "%s\n" \
        'alias lzg="lazygit"' |
        tee ~/.config/aliases/lazygit.sh >/dev/null

As far as I'm concerned, they should be tied specifically to installing and uninstalling applications.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants