From 867e1fa467ce02213444a5fe1caeb5c78a35c051 Mon Sep 17 00:00:00 2001 From: Tobias Reisinger Date: Tue, 27 Feb 2024 18:44:29 +0100 Subject: [PATCH] Update configs (add atuin) --- .config/git/config | 1 + .config/home-manager/common.nix | 2 ++ .config/yadm/encrypt | 1 + .config/zsh/.zshrc | 1 + 4 files changed, 5 insertions(+) diff --git a/.config/git/config b/.config/git/config index 90174a3..5a62b80 100644 --- a/.config/git/config +++ b/.config/git/config @@ -33,6 +33,7 @@ l = log --graph lo = log --graph --decorate --oneline --all s = status + ignore-io = "!gi() { curl -sL https://www.toptal.com/developers/gitignore/api/$@ ;}; gi" [log] date = iso diff --git a/.config/home-manager/common.nix b/.config/home-manager/common.nix index 7e1731c..0a89cc8 100644 --- a/.config/home-manager/common.nix +++ b/.config/home-manager/common.nix @@ -4,12 +4,14 @@ # Packages that should be installed to the user profile. home.packages = with pkgs; [ asciinema # tool to record terminal sessions + atuin # tool to save shell history bat # cat-alternative cachix # tool to manage nix binary caches difftastic # tool to compare files direnv # tool to load custom environments docker-credential-helpers doggo # dns client + du-dust # du alternative eza # ls-alternative faas-cli # cli for openfaas fzf # fuzzy finder diff --git a/.config/yadm/encrypt b/.config/yadm/encrypt index 70daafb..6f05e20 100644 --- a/.config/yadm/encrypt +++ b/.config/yadm/encrypt @@ -1,4 +1,5 @@ .bin/host-backup-portalo .config/env.d/99-secrets .config/rclone/rclone.conf +.local/share/atuin/key .ssh/config diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc index d1c0e50..308586b 100644 --- a/.config/zsh/.zshrc +++ b/.config/zsh/.zshrc @@ -117,5 +117,6 @@ source source-remote-file \ "https://raw.githubusercontent.com/dracula/zsh-syntax-highlighting/master/zsh-syntax-highlighting.sh" \ "dracula-syntax-highlighting" +[ -x "$(command -v atuin)" ] && eval "$(atuin init zsh)" [ -x "$(command -v direnv)" ] && eval "$(direnv hook zsh)" [ -x "$(command -v starship)" ] && eval "$(starship init zsh)"