This commit is contained in:
ArgentumCation 2023-12-16 15:00:16 -05:00
parent c181feede2
commit dabbdc466e
3 changed files with 8 additions and 3 deletions

View file

@ -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

View file

@ -28,7 +28,7 @@ source "$XDG_CONFIG_HOME/user-dirs.dirs"
########################
export EDITOR=nvim
export PAGER=moar
export PAGER=less
export OPENER=xdg-open
#######

View file

@ -169,6 +169,8 @@ fi
# Set up mcfly if installed (lets you search through history easily with ctrl+r)
if checkCommand mcfly; then
export MCFLY_KEY_SCHEME=vim
export MCFLY_FUZZY=2
zsh-defer _evalcache mcfly init zsh
fi