summaryrefslogtreecommitdiff
path: root/home
diff options
context:
space:
mode:
authorxyz <gky44px1999@gmail.com>2021-12-13 16:25:53 -0800
committerxyz <gky44px1999@gmail.com>2021-12-13 16:25:53 -0800
commit4829a4bca26ba75c609a0a705102072c1c0e4155 (patch)
tree6cac260e7dd726df8bf64c5bd7416480b37456e4 /home
parent3f910c0deedc6e4394e0052886037025f6ff3f67 (diff)
cfg, no cfgc cross platform any more
Diffstat (limited to 'home')
-rwxr-xr-xhome/xyz/.local/bin/cfg10
1 files changed, 5 insertions, 5 deletions
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"