I have atuin installed and setup, and it is syncing. However, no history has been added since I installed it, all that it displays is the history that was imported from my previous history?
I am on a mac using zsh.
Could you share
- the output of
atuin doctor - your .zshrc
please?
Atuin Doctor
Checking for diagnostics
Please include the output below with any bug reports or issues
{
"atuin": {
"version": "18.6.1",
"sync": {
"cloud": true,
"records": true,
"auto_sync": true,
"last_sync": "2025-07-07 18:15:37.424595 +00:00:00"
},
"sqlite_version": "3.46.0"
},
"shell": {
"name": "zsh",
"default": "zsh",
"plugins": [
"atuin"
],
"preexec": "built-in"
},
"system": {
"os": "Darwin",
"arch": "arm64",
"version": "15.5",
"disks": [
{
"name": "Macintosh HD",
"filesystem": "apfs"
},
{
"name": "Macintosh HD",
"filesystem": "apfs"
},
{
"name": "DockCase",
"filesystem": "apfs"
}
]
}
}
# Amazon Q pre block. Keep at the top of this file.
# [[ -f "${HOME}/Library/Application Support/amazon-q/shell/zshrc.pre.zsh" ]] && builtin source "${HOME}/Library/Application Support/amazon-q/shell/zshrc.pre.zsh"
# See: https://www.youtube.com/watch?v=ud7YxC33Z3w
#
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
# Initialization code that may require console input (password prompts, Ly/n]
# confirmations, etc.) must go above this block; everything else may go below.
# if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]];
# then
# source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
# fi
eval "$(/opt/homebrew/bin/brew shellenv)"
# Set the directory we want to store zinit and plugins
ZINIT_HOME="${XDG_DATA_HOME:-${HOME}/.local/share}/zinit/zinit.git"
# Download Zinit, if it's not there yet
if [ ! -d "$ZINIT_HOME" ]; then
mkdir -p "$(dirname $ZINIT_HOME)"
git clone https://github.com/zdharma-continuum/zinit.git "$ZINIT_HOME"
fi
# Source/Load zinit
source "${ZINIT_HOME}/zinit.zsh"
# Add in Powerlevel10k
# zinit ice depth=1; zinit light romkatv/powerlevel10k
# Add in zsh plugins
zinit light zsh-users/zsh-syntax-highlighting
zinit light zsh-users/zsh-completions
zinit light zsh-users/zsh-autosuggestions
zinit light Aloxaf/fzf-tab
# Add in snippets
zinit snippet OMZP::git
zinit snippet OMZP::sudo
#zinit snippet OMZP::archlinux
zinit snippet OMZP::aws
#zinit snippet OMZP::kubectl
#zinit snippet OMZP::kubectx
zinit snippet OMZP::command-not-found
# Load completions
autoload -U compinit && compinit
zinit cdreplay -q
# Keybindings
bindkey '^[[A' history-search-backward # Up
bindkey '^[[B' history-search-forward # Down
# # History
# HISTSIZE=5000
# HISTFILE=~/.zsh_history
# SAVEHIST=$HISTSIZE
# HISTDUP=erase
# setopt appendhistory
# setopt sharehistory
# setopt hist_ignore_space
# setopt hist_ignore_all_dups
# setopt hist_save_no_dups
# setopt hist_ignore_dups
# setopt hist_find_no_dups
# Completion styling
zstyle ':completion:*' matcher-list 'm:{a-z}={A-Za-z}'
zstyle ':completion:*' list-colors "${(s.:.)LS_COLORS}"
zstyle ':completion:*' menu no
zstyle ':fzf-tab:complete:cd:*' fzf-preview 'ls --color $realpath'
if [ -f ~/.aliases ]; then
. ~/.aliases
fi
if [ -f ~/.functions ]; then
. ~/.functions
fi
if [ -f ~/.path_additions ]; then
. ~/.path_additions
fi
if [ -f ~/.history_config ]; then
. ~/.history_config
fi
export EDITOR=nvim
export VISUAL=nvim
# >>> conda initialize >>>
# !! Contents within this block are managed by 'conda init' !!
__conda_setup="$('/Users/gary/miniconda3/bin/conda' 'shell.zsh' 'hook' 2> /dev/null)"
if [ $? -eq 0 ]; then
eval "$__conda_setup"
else
if [ -f "/Users/gary/miniconda3/etc/profile.d/conda.sh" ]; then
. "/Users/gary/miniconda3/etc/profile.d/conda.sh"
else
export PATH="/Users/gary/miniconda3/bin:$PATH"
fi
fi
unset __conda_setup
# <<< conda initialize <<<
#THIS MUST BE AT THE END OF THE FILE FOR SDKMAN TO WORK!!!
export SDKMAN_DIR="$HOME/.sdkman"
[[ -s "$HOME/.sdkman/bin/sdkman-init.sh" ]] && source "$HOME/.sdkman/bin/sdkman-init.sh"
add-zsh-hook -Uz chpwd(){ source <(tea -Eds) } #tea
source /Users/gary/.config/op/plugins.sh\
# add direnv hook
eval "$(direnv hook zsh)"
eval "$(zoxide init --cmd cd zsh)"
eval "$(fzf --zsh)"
# set xdc config location
export XDG_CONFIG_HOME="$HOME/.config"
# set HOME DIR for Warp
export WARP_THEMES_DIR="$HOME/.warp/themes"
# init tmuxifier
# eval "$(tmuxifier init -)"
# choose between powerlevel 10k and starship
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
# [[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
export STARSHIP_CONFIG=~/.config/starship/starship.toml
eval "$(starship init zsh)"
# Amazon Q post block. Keep at the bottom of this file.
# [[ -f "${HOME}/Library/Application Support/amazon-q/shell/zshrc.post.zsh" ]] && builtin source "${HOME}/Library/Application Support/amazon-q/shell/zshrc.post.zsh"
# Added by Windsurf
export PATH="/Users/gary/.codeium/windsurf/bin:$PATH"
# The following lines have been added by Docker Desktop to enable Docker CLI completions.
fpath=(/Users/gary/.docker/completions $fpath)
autoload -Uz compinit
compinit
# End of Docker CLI completions
# Xan completions
function __xan {
xan compgen "$1" "$2" "$3"
}
complete -F __xan -o default xan
# Azure CLI Profile Aliases
alias azdev='AZURE_CONFIG_DIR=$HOME/.azure/profiles/dev-profile az'
alias azadmin='AZURE_CONFIG_DIR=$HOME/.azure/profiles/admin-profile az'
# Helper to show which profile is active (based on config dir)
alias azwhoami='az account show --query "[user.name, name, id]" --output table'
alias azsub='az account list --output table'
# Default to dev profile
export AZURE_CONFIG_DIR=$HOME/.azure/profiles/dev-profile
export AZURE_PROFILE="🧪"
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
# For atuin
export PATH="$HOME/.atuin/bin:$PATH"
eval "$(atuin init zsh)"
# Hishtory Config:
# export PATH="$PATH:/Users/gary/.hishtory"
# source /Users/gary/.hishtory/config.zsh
I vaguely recall us seeing some issues with Fig (now amazon q) in the past - would it be ok to try disabling that and see if it’s where the issue lies? I’ll also note that several of your plugins say they must be at the bottom of the file, but are in the middle.
Otherwise, temporarily adjusting your zshrc to only have atuin will help narrow down if it’s an issue with our actual application or just the shell plugin