]> git.rmz.io Git - dotfiles.git/commitdiff
task: move taskrc file to task subfolder
authorSamir Benmendil <me@rmz.io>
Thu, 4 May 2023 00:50:15 +0000 (01:50 +0100)
committerSamir Benmendil <me@rmz.io>
Mon, 15 May 2023 14:37:35 +0000 (15:37 +0100)
That is where task now searches for the config file.

Makefile
task/taskrc [moved from taskrc with 100% similarity]
zshenv

index c5a8d99c5721277ff61731b03a033556e84b0662..22365daf49fb00d667ffbb2b07d91ac069efaeed 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -127,7 +127,7 @@ systemd: $(XDG_CONFIG_HOME) $(systemd_system_units)
 .PHONY: systemd
 
 task: $(XDG_CONFIG_HOME)
-       ln -sfT $(APATH)/taskrc $(XDG_CONFIG_HOME)/taskrc
+       ln -sfT $(APATH)/$@ $(XDG_CONFIG_HOME)/$@
 .PHONY: task
 
 tmux: $(XDG_CONFIG_HOME)
similarity index 100%
rename from taskrc
rename to task/taskrc
diff --git a/zshenv b/zshenv
index 93993b0750868d845d1a02ac7f30eea34466342e..7a3b049e6a8030e1320d4c3e842ce304dc599bfa 100644 (file)
--- a/zshenv
+++ b/zshenv
@@ -44,9 +44,6 @@ export LESSHISTFILE="$XDG_CACHE_HOME/lesshst"
 # urxvtd
 export RXVT_SOCKET="$XDG_RUNTIME_DIR/urxvtd-$HOST"
 
-# task
-export TASKRC="$XDG_CONFIG_HOME/taskrc"
-
 # mpv & mplayer
 export MPV_HOME="$XDG_CONFIG_HOME/mpv"
 export MPLAYER_HOME="$XDG_CONFIG_HOME/mplayer"