dotfiles

My personal shell configs and stuff
git clone git://git.alex.balgavy.eu/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

commit 35d274552996e91cf91552bb4bdd6492b218a986
parent 19f4ac40f8b771ee6f539fdfbac8b0ef9ab65133
Author: Alex Balgavy <a.balgavy@gmail.com>
Date:   Fri, 11 May 2018 18:52:44 +0200

Moved radio-config out of bin directory

Radio now checks for config files in home directory. Make one accordingly.

Diffstat:
M.bin/radio | 9++++++++-
R.bin/radio-config -> radio-config | 0
2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/.bin/radio b/.bin/radio @@ -1,7 +1,14 @@ #!/bin/bash # Initial config, setting $radios and $radio_names -source radio-config +if [ -e ~/.radio-config ]; then + source ~/.radio-config +elif [ -e ~/.config/radio-config ]; then + source ~/.config/radio-config +else + echo "No radios set up. Please create a config file." + exit 1 +fi ## MAIN SCRIPT ## diff --git a/.bin/radio-config b/radio-config