From e8816229b74b548dae8f374c8671cca7f6dc2ea5 Mon Sep 17 00:00:00 2001 From: Hau Nguyen Date: Sat, 10 Feb 2024 23:17:19 +0700 Subject: [PATCH] config(atuin): init --- data/atuin/config.toml | 7 +++++++ data/data.toml | 6 +++++- data/zsh/top-zshrc | 2 +- scripts/cargo.sh | 2 +- scripts/cargo_force.sh | 2 +- 5 files changed, 15 insertions(+), 4 deletions(-) create mode 100644 data/atuin/config.toml diff --git a/data/atuin/config.toml b/data/atuin/config.toml new file mode 100644 index 0000000..49da8ec --- /dev/null +++ b/data/atuin/config.toml @@ -0,0 +1,7 @@ +# https://docs.atuin.sh/configuration/config/ + +style = "compact" + +show_preview = true + +enter_accept = false diff --git a/data/data.toml b/data/data.toml index c7de838..cc5afbe 100644 --- a/data/data.toml +++ b/data/data.toml @@ -100,4 +100,8 @@ external = "~/.newsboat/dark" [[apps.newsboat.paths]] internal = "data/newsboat/dark" -urk = "https://raw.githubusercontent.com/catppuccin/newsboat/main/themes/dark" +url = "https://raw.githubusercontent.com/catppuccin/newsboat/main/themes/dark" + +[[apps.atuin.paths]] +internal = "data/atuin/config.toml" +external = "~/.config/atuin/config.toml" diff --git a/data/zsh/top-zshrc b/data/zsh/top-zshrc index 42e68e5..c572127 100644 --- a/data/zsh/top-zshrc +++ b/data/zsh/top-zshrc @@ -2,7 +2,7 @@ # Put this on top of ~/.zshrc # https://zsh.sourceforge.io/Doc/Release/Parameters.html#Parameters-Used-By-The-Shell -export HISTORY_IGNORE="(ls|ll|la|cd|pwd|exit|builtin *|*:)" +export HISTORY_IGNORE="(ls|ll|la|ls *|ll *|la *|cd|pwd|exit|builtin *|*:|z)" export HISTSIZE=100000000 export SAVEHIST=$HISTSIZE diff --git a/scripts/cargo.sh b/scripts/cargo.sh index 664e70c..d0ead64 100755 --- a/scripts/cargo.sh +++ b/scripts/cargo.sh @@ -4,7 +4,7 @@ rustup update cargo install --quiet --locked \ fd-find bat git-delta eza sd tealdeer \ - difftastic vivid zellij zoxide \ + difftastic vivid zellij zoxide atuin \ fnm stylua taplo-cli \ pfetch pokeget \ daktilo kbt diff --git a/scripts/cargo_force.sh b/scripts/cargo_force.sh index afe324c..bfa3d87 100755 --- a/scripts/cargo_force.sh +++ b/scripts/cargo_force.sh @@ -2,7 +2,7 @@ cargo install --quiet --force --locked \ fd-find bat git-delta eza sd tealdeer \ - difftastic vivid zellij zoxide \ + difftastic vivid zellij zoxide atuin \ fnm stylua taplo-cli \ pfetch pokeget \ daktilo kbt