diff options
author | Euro20179 <f> | 2021-03-02 13:25:50 -0800 |
---|---|---|
committer | Euro20179 <f> | 2021-03-02 13:25:50 -0800 |
commit | 77e339a99d233f434923e506236d0a0c28e22022 (patch) | |
tree | b2efb20dd65da1c3cc06058d3c1d738c7d3f2052 | |
parent | cabe0f174edc94bf6cde6a56844568dda775428d (diff) | |
download | ytfzf-77e339a99d233f434923e506236d0a0c28e22022.tar.gz |
moved ytfzf.sh to ytfzf/ytfzf.sh
-rwxr-xr-x | ytfzf | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -32,7 +32,9 @@ thumb_dir="$YTFZF_CACHE"/thumb [ -d $thumb_dir ] || mkdir -p $thumb_dir #> Setting and reading the config file -config_file="$HOME/.config/ytfzf.sh" +config_dir="$HOME/.config/ytfzf" +config_file="$config_dir/ytfzf.sh" +[ -d "$config_dir" ] || mkdir -p $config_dir if [ -e $config_file ] then #source config file if exists (overrides env variables) |