Compare commits

...

2 Commits

Author SHA1 Message Date
2fe183e757 feat(tools): Add powerline-go to mise essential tools 2025-10-29 23:57:57 +01:00
e42dcfd45f feat(config): Improve config script for screen
To follow the approach used for the tmux config script.
2025-10-29 23:21:09 +01:00
2 changed files with 11 additions and 7 deletions

View File

@@ -1,9 +1,12 @@
#!/bin/bash
# Configuration SCREEN
git_repo="https://gitea.cloud.logerais.com/xavier/config-screen.git"
git_branch="master"
config_dir=${XDG_CONFIG_HOME:-$HOME/.config}/screen
if [[ ! -d ~/.screen ]]
then
git clone --recursive https://gitea.logerais.com/xavier/config-screen.git ~/.screen
bash ~/.screen/create-links.bash
if [[ ! -d "${config_dir}" ]]; then
git clone "${git_repo}" --branch "${git_branch}" --recursive "${config_dir}"
else
cd "${config_dir}" && git pull
fi
ln -sf "${config_dir}/screenrc" "${HOME}/.screenrc"

View File

@@ -17,5 +17,6 @@ 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 completion
(mise where chezmoi &>/dev/null) || mise use -g chezmoi # to manage dotfiles
(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