tCreate config dir during initialization - fffs - fast and simple shell plugin manager
HTML git clone git://src.adamsgaard.dk/fffs
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit ba8dc160f81e1b93a4d418c48188ef05005bfd74
DIR parent 115dbebaad4b4fe3dbaf66b216b66c807cdeb819
HTML Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Thu, 14 Mar 2019 17:27:40 +0100
Create config dir during initialization
Diffstat:
M fffs | 1 +
1 file changed, 1 insertion(+), 0 deletions(-)
---
DIR diff --git a/fffs b/fffs
t@@ -88,6 +88,7 @@ function check_if_source_in_shellrc {
function init_sources {
echo "Generating source file $plugindir/$shell/sources"
+ mkdir -p "$plugindir/$shell"
echo "#!/usr/bin/env $shell" > "$plugindir/$shell/sources"
if [[ "$shell" == "zsh" ]]; then