From 4829a4bca26ba75c609a0a705102072c1c0e4155 Mon Sep 17 00:00:00 2001 From: xyz Date: Mon, 13 Dec 2021 16:25:53 -0800 Subject: cfg, no cfgc cross platform any more --- home/xyz/.local/bin/cfg | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'home') diff --git a/home/xyz/.local/bin/cfg b/home/xyz/.local/bin/cfg index 299c6db9..40ceee19 100755 --- a/home/xyz/.local/bin/cfg +++ b/home/xyz/.local/bin/cfg @@ -2,11 +2,11 @@ while getopts clsmM opt; do case $opt in - c) - work_tree_dir="$HOME" - meta_file="$XDG_CONFIG_HOME/myconf/cfg${opt}_meta" - cmd="git --git-dir=$HOME/.cfg$opt/ --work-tree=$HOME" - ;; + #c) + # work_tree_dir="$HOME" + # meta_file="$XDG_CONFIG_HOME/myconf/cfg${opt}_meta" + # cmd="git --git-dir=$HOME/.cfg$opt/ --work-tree=$HOME" + # ;; l|s) work_tree_dir=/ meta_file="/etc/myconf/cfg${opt}_meta" -- cgit v1.2.3-70-g09d2