aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--.stowrc2
-rw-r--r--makefile8
-rw-r--r--tmux/.config/tmux/tmux.conf (renamed from tmux/.tmux.conf)0
3 files changed, 8 insertions, 2 deletions
diff --git a/.stowrc b/.stowrc
index 1a2e9fc..7dd796c 100644
--- a/.stowrc
+++ b/.stowrc
@@ -1,4 +1,6 @@
--verbose
+--dotfiles
--no-folding
+--target=$HOME
--ignore=install
--ignore=install.sh \ No newline at end of file
diff --git a/makefile b/makefile
index b2b22b4..b45f1ba 100644
--- a/makefile
+++ b/makefile
@@ -1,8 +1,12 @@
VPATH = $(PATH)
+
+ROOT_DIR := $(shell dirname $(realpath $(firstword $(MAKEFILE_LIST))))
ZSH_COMP_DIR := $(HOME)/.local/share/zsh/site-functions
BASH_COMP_DIR := $(HOME)/.local/share/bash-completion/completions
+
ARCH := $(shell uname -m | sed s/aarch64/arm64/ | sed s/x86_64/amd64/ | sed s/armv7l/armv6/)
+
.PHONY: interactive stow unstow clean gpg wsl
$(ZSH_COMP_DIR):
@@ -19,10 +23,10 @@ interactive: fzf rg # Interactive target runner
--preview-window '80%,border-bottom,+{2}+3/3,~3'
stow: # Install configuration files
- stow --target=$(HOME) */
+ stow */
unstow: # Uninstall configuration files
- stow --target=$(HOME) --delete */
+ stow --delete */
clean: # Remove all broken symbolic links from $HOME (recursivly)
find $(HOME) -type l -exec sh -c 'for x; do [ -e "$$x" ] || rm -v "$$x"; done' _ {} +
diff --git a/tmux/.tmux.conf b/tmux/.config/tmux/tmux.conf
index 7af5105..7af5105 100644
--- a/tmux/.tmux.conf
+++ b/tmux/.config/tmux/tmux.conf