atuin: add config
This commit is contained in:
parent
4171488221
commit
4febb79d7f
39
atuin/config.toml
Normal file
39
atuin/config.toml
Normal file
@ -0,0 +1,39 @@
|
||||
# https://atuin.sh/docs/config/#client-config
|
||||
|
||||
# Whether to automatically sync.
|
||||
auto_sync = true
|
||||
|
||||
# Whether to automatically check for updates.
|
||||
update_check = false
|
||||
|
||||
# The address of the server to sync with.
|
||||
sync_address = "https://atuin.gould.dev"
|
||||
|
||||
# If set to 0, sync will occur after every command.
|
||||
sync_frequency = "10m"
|
||||
|
||||
# Possible values: prefix, fulltext, fuzzy, skim.
|
||||
search_mode = "fuzzy"
|
||||
search_mode_shell_up_key_binding = "fuzzy"
|
||||
|
||||
# Possible values: global, host, session, directory.
|
||||
filter_mode = "global"
|
||||
filter_mode_shell_up_key_binding = "global"
|
||||
|
||||
# Possible values: auto, full, compact.
|
||||
style = "auto"
|
||||
|
||||
# If set to 0, always go full screen.
|
||||
inline_height = 0
|
||||
|
||||
# Whether to put the search bar at the top instead of the bottom.
|
||||
invert = true
|
||||
|
||||
# Whether to show a preview of the selected command.
|
||||
show_preview = true
|
||||
|
||||
# Possible values: return-original, return-query.
|
||||
exit_mode = "return-original"
|
||||
|
||||
# Possible values: emacs, subl.
|
||||
word_jump_mode = "emacs"
|
@ -6,6 +6,7 @@ ROOTDIR=$(cd "$(dirname "$0")/.." && pwd)
|
||||
|
||||
# Install required tools
|
||||
brew install \
|
||||
atuin \
|
||||
bat \
|
||||
fd \
|
||||
fish \
|
||||
|
@ -20,6 +20,7 @@ install_symlink() {
|
||||
ln -fnsv "$srcdir" "$dstdir"
|
||||
}
|
||||
|
||||
install_symlink "$ROOTDIR/atuin" "$HOME/.config/atuin"
|
||||
install_symlink "$ROOTDIR/fd" "$HOME/.config/fd"
|
||||
install_symlink "$ROOTDIR/fish" "$HOME/.config/fish"
|
||||
install_symlink "$ROOTDIR/git" "$HOME/.config/git"
|
||||
|
@ -3,6 +3,7 @@
|
||||
# Whenever it changes, run `nix-env -irf ~/.config/nix/packages.nix` to reinstall the environment.
|
||||
|
||||
with import <nixpkgs> {}; [
|
||||
atuin
|
||||
bat
|
||||
delta
|
||||
direnv
|
||||
|
Loading…
x
Reference in New Issue
Block a user