timberline-secondary / hackerspace-scripts

Scripts for managing the Hackerspace's network
1 stars 2 forks source link

Generate link to control-panel script from home dir, or add command alias #13

Closed tylerecouture closed 7 years ago

tylerecouture commented 7 years ago

In production (actual use) we have the project based in our home dir, ~/ but that means our bin folder is taken, and other files (git, hidden scripts) sit in home. Instead, the project (and git repo) should be able to be placed anywere. On first run, it should create a link from the home dir, to wherever the control-panel.sh script was placed. That way, it's still easy to run from the default opened terminal, but the files don't rest in the home dir directly.

Another option is to just add the command to the user's bash profile (~/bash_profile?) so it can be run from any location (just like other linux commands like cd and wget etc). Then control-panel would be a command you type instead of running a script! https://askubuntu.com/questions/297310/how-to-add-commands-to-terminal