aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Triguba <hello@eugenetriguba.com>2025-11-27 20:26:33 -0500
committerEugene Triguba <hello@eugenetriguba.com>2025-11-27 20:26:33 -0500
commit92cb9e3a7e5514d434f92ceb8105df4526dee193 (patch)
tree8078c0d2cd4bf46a07d2af84d986167c50e65060
parentUpdate lemonbar (diff)
downloaddotfiles-92cb9e3a7e5514d434f92ceb8105df4526dee193.zip
Add .profile source and fzf integration
-rwxr-xr-xzsh/.zshrc12
1 files 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
#