Files
2026-10-21 08:33:19 -06:00

14 lines
458 B
Bash

#!/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