feat: add atuin to handle shell history

This commit is contained in:
João Paulo Dubas 2024-02-25 21:08:59 +00:00
parent 30ed6b41ba
commit 85533f3460
Signed by: joao.dubas
SSH Key Fingerprint: SHA256:V1mixgOGRc/YMhGx/DNkOSmJxgA2vHNrDZEk3wt/kOA
3 changed files with 7 additions and 0 deletions

View File

@ -97,6 +97,7 @@ ENV DO_URL https://download.docker.com/linux/static/stable/x86_64/docker-${DO_VE
ENV DC_VERSION v2.23.3
ENV DC_URL https://github.com/docker/compose/releases/download/${DC_VERSION}/docker-compose-linux-x86_64
RUN curl -sS https://starship.rs/install.sh | sh -s -- --yes \
&& curl -sS https://setup.atuin.sh | bash \
&& mkdir /tmp/download \
&& curl -L ${DO_URL} | tar -zx -C /tmp/download \
&& chgrp --recursive docker /tmp/download \

5
config/atuin/config.toml Normal file
View File

@ -0,0 +1,5 @@
auto_sync = true
update_check = false
sync_address = "https://atuin.dubas.dev"
sync_frequency = "15m"
inline_height = 10

View File

@ -9,6 +9,7 @@ services:
entrypoint: sleep
command: infinity
volumes:
- './config/atuin:/home/coder/.config/atuin'
- './config/git:/home/coder/.config/git'
- './config/mise:/home/coder/.config/mise'
- './config/nvim/lua/custom:/home/coder/.config/nvim/lua/custom'