Skip to content

feature: automation of shell settings on alx init#9

Merged
hiro08gh merged 3 commits intomainfrom
feature/automate-shell-settings
Nov 13, 2025
Merged

feature: automation of shell settings on alx init#9
hiro08gh merged 3 commits intomainfrom
feature/automate-shell-settings

Conversation

@hiro08gh
Copy link
Copy Markdown
Owner

@hiro08gh hiro08gh commented Nov 13, 2025

This adds an option to automatically write to the shell configuration file when alx init is run.

alx init

Choose your shell.

Initialized alx configuration at: "/your_alx_path/alx"
Select your shell:
> zsh (default)
  bash
  fis

Choose whether to write the 'alx' alias configuration to your shell file. The default is No.

To enable aliases, add the following line to your shell config:
     # Add to '/your/.zshrc'
     [ -f '/your_alx_path/alx/shell/aliases.sh' ] && source '/your_alx_path/alx/shell/aliases.sh'
Do you want to add this line to '/your/.zshrc' automatically? [y/N]

@hiro08gh hiro08gh changed the title feature: automate shell settings when alx init feature: automate shell settings on alx init Nov 13, 2025
@hiro08gh hiro08gh changed the title feature: automate shell settings on alx init feature: automation of Shell Settings on alx init Nov 13, 2025
@hiro08gh hiro08gh changed the title feature: automation of Shell Settings on alx init feature: automation of shell settings on alx init Nov 13, 2025
@hiro08gh hiro08gh merged commit ebd6e57 into main Nov 13, 2025
2 checks passed
@hiro08gh hiro08gh deleted the feature/automate-shell-settings branch November 18, 2025 00:19
@hiro08gh hiro08gh added the enhancement New feature or request label Nov 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant