OCA-Creations / Ally

A powerful command-line tool for managing ZSH aliases, written in Swift.
MIT License
2 stars 0 forks source link

[FEATURE REQUEST] Create a function, allowing direct terminal reload (a.k.a `ally reload`) #8

Open MrDevel0per opened 11 months ago

MrDevel0per commented 11 months ago

Is your feature request related to a problem? Please describe. Somewhat. When Ally finishes a command, it will output:

To make these settings take effect for this terminal session,

And then cuts off. We ideally want to have ally reload the terminal automatically. Describe the solution you'd like The ally command should be set into a zsh function, allowing source to be run after normal command finishes. Otherwise, we can change it to outputting

source $HOME/.ally

Describe alternatives you've considered A function or asking the user to run source, but that requires further user action. Since it is ally's goal to mimic the alias command, we ideally want it to add it to the local session like alias does.

MrDevel0per commented 10 months ago

This is TOP PRIORITY because it is how the user will reload the terminal. Failure to accomplish this issue means that the ally command DOES NOT WORK like the ZSH alias command.