Compare commits
4 Commits
ed63fce4c0
...
switch_to_
Author | SHA1 | Date | |
---|---|---|---|
223555c852 | |||
3aeb0650c4 | |||
10015173f9 | |||
6462e4ce57 |
15
config.d/chezmoi.bash
Normal file
15
config.d/chezmoi.bash
Normal file
@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Configuration for chezmoi
|
||||
|
||||
# git_repo="https://github.com/AstroNvim/template"
|
||||
# git_branch="main"
|
||||
|
||||
git_repo="https://gitea.cloud.logerais.com/xavier/config-chezmoi.git"
|
||||
git_branch="main"
|
||||
|
||||
if (command -v chezmoi); then
|
||||
chezmoi init https://gitea.cloud.logerais.com/xavier/config-chezmoi.git
|
||||
chezmoi apply ~/.config/mise
|
||||
mise install
|
||||
fi
|
@ -6,7 +6,7 @@
|
||||
# git_branch="main"
|
||||
|
||||
git_repo="https://gitea.cloud.logerais.com/xavier/config-astronvim.git"
|
||||
git_branch="astronvim_v4"
|
||||
git_branch="main"
|
||||
config_dir=${XDG_CONFIG_HOME:-$HOME/.config}/nvim
|
||||
|
||||
if [[ ! -d "${config_dir}" ]]; then
|
||||
|
@ -4,7 +4,7 @@ if (grep -q Ubuntu <(lsb_release -i)); then
|
||||
sudo apt update
|
||||
sudo apt upgrade -y
|
||||
|
||||
sudo apt install -y coreutils grep less tar tree
|
||||
sudo apt install -y coreutils grep less tar zip unzip tree
|
||||
sudo apt install -y man manpages-fr manpages-fr-extra
|
||||
sudo apt install -y bash zsh fish
|
||||
sudo apt install -y screen tmux
|
||||
|
@ -2,17 +2,20 @@
|
||||
|
||||
# mise-en-place (https://mise.jdx.dev/)
|
||||
|
||||
# Install
|
||||
# Install mise
|
||||
|
||||
if (! command -v mise &>/dev/null); then
|
||||
curl https://mise.run | sh
|
||||
fi
|
||||
|
||||
if (command -v mise &>/dev/null); then
|
||||
# Activate
|
||||
eval "$(mise activate bash)"
|
||||
# Activate mise
|
||||
|
||||
test -x ~/.local/bin/mise && eval "$(~/.local/bin/mise activate bash)"
|
||||
|
||||
# Configure mise
|
||||
#
|
||||
mise settings set experimental true
|
||||
# Install some plugins
|
||||
|
||||
# Install some essential tools
|
||||
(mise where usage &>/dev/null) || mise use -g usage # for completion
|
||||
# mise use -g cargo:ubi # to install binaries from Github release
|
||||
fi
|
||||
(mise where chezmoi &>/dev/null) || mise use -g chezmoi # to manage dotfiles
|
||||
|
Reference in New Issue
Block a user