2023-06-07 09:45:55 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
2025-01-25 18:44:01 +01:00
|
|
|
# Configuration for tmux
|
2023-06-07 09:45:55 +02:00
|
|
|
|
2025-01-25 18:44:01 +01:00
|
|
|
git_repo="https://gitea.cloud.logerais.com/xavier/config-tmux.git"
|
|
|
|
git_branch="master"
|
|
|
|
config_dir=${XDG_CONFIG_HOME:-$HOME/.config}/tmux
|
|
|
|
|
|
|
|
if [[ ! -d "${config_dir}" ]]; then
|
|
|
|
git clone "${git_repo}" --branch "${git_branch}" "${config_dir}"
|
|
|
|
else
|
|
|
|
cd "${config_dir}" && git pull
|
2023-06-07 09:45:55 +02:00
|
|
|
fi
|