diff options
author | Matt Strapp <matt@mattstrapp.net> | 2024-12-05 16:41:09 -0600 |
---|---|---|
committer | Matt Strapp <matt@mattstrapp.net> | 2024-12-05 16:41:09 -0600 |
commit | 5e081fa45342500e2c9c319ab2b3aa73bc5830bd (patch) | |
tree | ffffb06d0e852d07a157463a4189c6951b4c22da /dot_config/zsh/aliasrc | |
parent | make the history file both extremely large and make sure it always can exist (diff) | |
download | dotfiles-5e081fa45342500e2c9c319ab2b3aa73bc5830bd.tar dotfiles-5e081fa45342500e2c9c319ab2b3aa73bc5830bd.tar.gz dotfiles-5e081fa45342500e2c9c319ab2b3aa73bc5830bd.tar.bz2 dotfiles-5e081fa45342500e2c9c319ab2b3aa73bc5830bd.tar.lz dotfiles-5e081fa45342500e2c9c319ab2b3aa73bc5830bd.tar.xz dotfiles-5e081fa45342500e2c9c319ab2b3aa73bc5830bd.tar.zst dotfiles-5e081fa45342500e2c9c319ab2b3aa73bc5830bd.zip |
export
Signed-off-by: Matt Strapp <matt@mattstrapp.net>
Diffstat (limited to 'dot_config/zsh/aliasrc')
-rw-r--r-- | dot_config/zsh/aliasrc | 6 |
1 files changed, 6 insertions, 0 deletions
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"' |