#!/bin/bash # # Purpose : Hook CoreDesktop's shell setup (prompt, zoxide, fzf key bindings, # aliases and functions in shell/) into ~/.bashrc LINE='[[ -f "$HOME/.local/share/coredesktop/shell/bashrc" ]] && source "$HOME/.local/share/coredesktop/shell/bashrc"' if grep -qF "$LINE" ~/.bashrc 2>/dev/null; then echo "CoreDesktop shell setup already in .bashrc" else echo "$LINE" >> ~/.bashrc echo "CoreDesktop shell setup added to .bashrc" fi