From dabbdc466eb1c1f2fe204b68afef65163cafdc53 Mon Sep 17 00:00:00 2001 From: ArgentumCation Date: Sat, 16 Dec 2023 15:00:16 -0500 Subject: [PATCH] changes --- executable_dot_aliasrc | 5 ++++- executable_dot_profile | 2 +- executable_dot_zshrc | 4 +++- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/executable_dot_aliasrc b/executable_dot_aliasrc index 1f87617..94956c8 100644 --- a/executable_dot_aliasrc +++ b/executable_dot_aliasrc @@ -1,10 +1,11 @@ #!/bin/sh -lfcd () { +lf () { # `command` is needed in case `lfcd` is aliased to `lf` cd "$(command lf -print-last-dir "$@")" } + load_aliases() { local TIMEFMT='\%J\n%mE:' local OLDPATH=$PATH @@ -86,6 +87,8 @@ load_aliases() { # Replace cat with bat if checkCommand bat; then alias cat="bat" + alias batlog="bat --paging=never -l log" + alias battail="tail -f | bat --paging=never -l log" fi # Replace tree with broot diff --git a/executable_dot_profile b/executable_dot_profile index 4045198..67d9dd2 100644 --- a/executable_dot_profile +++ b/executable_dot_profile @@ -28,7 +28,7 @@ source "$XDG_CONFIG_HOME/user-dirs.dirs" ######################## export EDITOR=nvim -export PAGER=moar +export PAGER=less export OPENER=xdg-open ####### diff --git a/executable_dot_zshrc b/executable_dot_zshrc index 4c5f951..ef1ad82 100644 --- a/executable_dot_zshrc +++ b/executable_dot_zshrc @@ -169,7 +169,9 @@ fi # Set up mcfly if installed (lets you search through history easily with ctrl+r) if checkCommand mcfly; then - zsh-defer _evalcache mcfly init zsh + export MCFLY_KEY_SCHEME=vim + export MCFLY_FUZZY=2 + zsh-defer _evalcache mcfly init zsh fi # set up zoxide if installed (lets you jump through folders easily using the z and zi commands instead of cd)