Linux Lite Forums
Bash_Functions - Printable Version

+- Linux Lite Forums (https://www.linuxliteos.com/forums)
+-- Forum: Development (https://www.linuxliteos.com/forums/forumdisplay.php?fid=7)
+--- Forum: Scripting and Bash (https://www.linuxliteos.com/forums/forumdisplay.php?fid=32)
+--- Thread: Bash_Functions (/showthread.php?tid=7359)



Bash_Functions - Marmaduke - 09-14-2020

I'm experimenting with using functions to call a shell script instead of writing the functions out in .bash_functions file.

  1. Allows me to use VSCode with Synthax highlighting.
  2. Easy updates of the function without the need to source the functions file.
  3. I've created a script to prepopulate the functions file and source on each new addition.