Move bash config to shell subdir

This commit is contained in:
2025-11-13 13:52:25 -05:00
parent 60d5d88e96
commit 7ef57ef155
16 changed files with 9 additions and 9 deletions

View File

@@ -2,7 +2,7 @@ BUILD_COMMIT = $(shell git rev-parse HEAD)
BASE_IMAGE = registry.fedoraproject.org/fedora-toolbox
BASE_IMAGE_VERSION = $(shell cat /etc/os-release | grep VERSION_ID | cut -d = -f 2)
REPOSITORY = localhost/toolbox-dev-env
STARSHIP_COLOR = $(shell cat starship.$(HOSTNAME).color)
STARSHIP_COLOR = $(shell cat shell/starship.$(HOSTNAME).color)
.PHONY: toolbox
toolbox:
@@ -12,8 +12,8 @@ toolbox:
systemctl --user enable podman.socket --now
systemctl --user enable podman.service --now
.PHONY: container
scripts:
.PHONY: shell
shell:
mkdir --parents ~/.local/share/fonts/
curl -sSLo ~/.local/share/fonts/nerdfont.zip https://github.com/ryanoasis/nerd-fonts/releases/download/v3.4.0/AdwaitaMono.zip
unzip -o ~/.local/share/fonts/nerdfont.zip -d ~/.local/share/fonts/
@@ -25,14 +25,14 @@ scripts:
sh /tmp/starship.sh --yes --bin-dir=$(HOME)/.local/bin
mkdir --parents ~/.config/bashrc.d
cp scripts.d/*.sh ~/.config/bashrc.d/
cp shell/scripts.d/*.sh ~/.config/bashrc.d/
mkdir --parents ~/.config/completions.d
cp completions.d/*.completion ~/.config/completions.d/
cp shell/completions.d/*.completion ~/.config/completions.d/
cp bashrc.sh ~/.bashrc
cp inputrc ~/.inputrc
cp starship.toml ~/.config/starship.toml
cp shell/bashrc.sh ~/.bashrc
cp shell/inputrc ~/.inputrc
cp shell/starship.toml ~/.config/starship.toml
sed -i "s/#XXXXXX/$(STARSHIP_COLOR)/g" ~/.config/starship.toml
.PHONY: vscodium
@@ -47,5 +47,5 @@ vscodium:
podman rm vscodium-setup-temp
.PHONY: install
install: toolbox scripts;
install: toolbox shell;