From 5e081fa45342500e2c9c319ab2b3aa73bc5830bd Mon Sep 17 00:00:00 2001 From: Matt Strapp Date: Thu, 5 Dec 2024 16:41:09 -0600 Subject: export Signed-off-by: Matt Strapp --- dot_config/zsh/aliasrc | 6 ++++++ dot_config/zsh/dot_zshrc | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) (limited to 'dot_config') diff --git a/dot_config/zsh/aliasrc b/dot_config/zsh/aliasrc index 75903ee..e77c307 100644 --- a/dot_config/zsh/aliasrc +++ b/dot_config/zsh/aliasrc @@ -6,6 +6,12 @@ # If code-insiders exists and code does not, use code-insiders. [ -x "$(command -v code-insiders)" ] && [ ! -x "$(command -v code)" ] && alias code="code-insiders" +# if batcat exists and bat does not, use batcat. +[ -x "$(command -v batcat)" ] && [ ! -x "$(command -v bat)" ] && alias bat="batcat" + +# If fdfind exists and fd does not, use fdfind. +[ -x "$(command -v fdfind)" ] && [ ! -x "$(command -v fd)" ] && alias fd="fdfind" + # Use $XINITRC variable if file exists. [ -f "$XINITRC" ] && alias startx='startx "$XINITRC"' diff --git a/dot_config/zsh/dot_zshrc b/dot_config/zsh/dot_zshrc index 296d368..883bf24 100644 --- a/dot_config/zsh/dot_zshrc +++ b/dot_config/zsh/dot_zshrc @@ -39,8 +39,8 @@ setopt interactive_comments setopt complete_aliases # History in cache directory: -HISTSIZE=999999999 -SAVEHIST=$HISTSIZE +export HISTSIZE=9999999999 +export SAVEHIST=$HISTSIZE if [ -z "$XDG_STATE_HOME/zsh" ]; then mkdir -p "$XDG_STATE_HOME/zsh" fi -- cgit v1.2.3