Compare commits

..

1 Commits

Author SHA1 Message Date
cdc905303d feat(config): Improve config script for screen
To follow the approach used for the tmux config script.
2025-10-29 22:19:40 +01:00
2 changed files with 3 additions and 4 deletions

View File

@@ -6,7 +6,7 @@ config_dir=${XDG_CONFIG_HOME:-$HOME/.config}/screen
if [[ ! -d "${config_dir}" ]]; then
git clone "${git_repo}" --branch "${git_branch}" --recursive "${config_dir}"
bash "${config_dir}/create-links.bash"
else
cd "${config_dir}" && git pull
fi
ln -sf "${config_dir}/screenrc" "${HOME}/.screenrc"

View File

@@ -17,6 +17,5 @@ test -x ~/.local/bin/mise && eval "$(~/.local/bin/mise activate bash)"
mise settings set experimental true
# Install some essential tools
(mise where usage &>/dev/null) || mise use -g usage # for help completion
(mise where chezmoi &>/dev/null) || mise use -g chezmoi # to manage dotfiles
(mise where powerline-go &>/dev/null) || mise use -g powerline-go # for fancy prompt
(mise where usage &>/dev/null) || mise use -g usage # for completion
(mise where chezmoi &>/dev/null) || mise use -g chezmoi # to manage dotfiles