From 92cb9e3a7e5514d434f92ceb8105df4526dee193 Mon Sep 17 00:00:00 2001 From: Eugene Triguba Date: Thu, 27 Nov 2025 20:26:33 -0500 Subject: Add .profile source and fzf integration --- zsh/.zshrc | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/zsh/.zshrc b/zsh/.zshrc index c2a0e87..4a1f136 100755 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -1,5 +1,9 @@ #!/usr/bin/env zsh +if [ "$(uname)" = "OpenBSD" ]; then + . ~/.profile +fi + # # Setup Shell Prompt # @@ -28,8 +32,8 @@ compinit # Setup shell history # export HISTFILE=~/.zhistory -export HISTSIZE=100000 -export SAVEHIST=100000 +export HISTSIZE=1000000 +export SAVEHIST=1000000 # # Setup default env variables @@ -71,6 +75,10 @@ if [ -d "$HOME/.nvm" ]; then [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" fi +if command -v fzf > /dev/null 2>&1; then + eval "$(fzf --zsh)" +fi + # # Append additional directories onto PATH # -- cgit v1.2.3