From a38796b975c8dd8a9638e45491944e909570674f Mon Sep 17 00:00:00 2001 From: Charles Danesi Date: Sat, 16 Aug 2025 20:08:05 -0400 Subject: [PATCH] fix tpm path --- .config/yadm/bootstrap | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.config/yadm/bootstrap b/.config/yadm/bootstrap index e6301e9..5a51055 100755 --- a/.config/yadm/bootstrap +++ b/.config/yadm/bootstrap @@ -16,11 +16,11 @@ case $(uname -s) in echo "Installing/Updating homebrew bundle" brew bundle --global fi - ;; # espanso espanso service register espanso service start + ;; Linux) @@ -28,15 +28,15 @@ case $(uname -s) in # I'm not sure the best way to do this yet, but as I primarily use Arch and # Debian based distros, I'm going to separate them by package manager.. - if [ ! command -v pacman >/dev/null 2>&1 ]; then # Arch-based + if command -v pacman >/dev/null 2>&1; then # Arch-based # Add BlackArch repositories - if [ ! -f /etc/blackarch-mirrorlist ]; then + if [ ! -f /etc/pacman.d/blackarch-mirrorlist ]; then echo "Installing BlackArch repositories" curl -O https://blackarch.org/strap.sh && sudo sh ./strap.sh fi - elif [ $(which apt-get) || $(which apt) ]; then # Debian-based + elif [ ! command -v apt >/dev/null 2>&1 ]; then # Debian-based echo "nothing to do yet" @@ -107,5 +107,6 @@ fi if ! [ -d "$HOME/.config/tmux/plugins/tpm/" ]; then echo "Installing Tmux Plugin Manager (TPM)" - git clone https://github.com/tmux-plugins/tpm $HOME/config/tmux/plugins/tpm + mkdir -p "$HOME/.config/tmux/plugins/tpm" + git clone https://github.com/tmux-plugins/tpm $HOME/.config/tmux/plugins/tpm fi \ No newline at end of file