mirror of
https://github.com/acedanger/shell.git
synced 2025-12-06 00:00:13 -08:00
Refactor alias management and improve bootstrap process for Zsh
This commit is contained in:
@@ -75,4 +75,13 @@ chmod +x "$DOTFILES_DIR/setup/setup.sh"
|
||||
# Run setup script
|
||||
"$DOTFILES_DIR/setup/setup.sh"
|
||||
|
||||
echo -e "${GREEN}Bootstrap completed! Please restart your terminal for changes to take effect.${NC}"
|
||||
# Source the aliases file if it exists to make aliases available in the current session
|
||||
ZSH_CUSTOM="$HOME/.oh-my-zsh/custom"
|
||||
ALIASES_FILE="$ZSH_CUSTOM/aliases.zsh"
|
||||
if [ -f "$ALIASES_FILE" ]; then
|
||||
echo -e "${YELLOW}Loading aliases into current session...${NC}"
|
||||
source "$ALIASES_FILE"
|
||||
fi
|
||||
|
||||
echo -e "${GREEN}Bootstrap completed! Your aliases have been set up.${NC}"
|
||||
echo -e "${YELLOW}Tip: Run 'source ~/.zshrc' or start a new terminal session to use all zsh features.${NC}"
|
||||
|
||||
Reference in New Issue
Block a user