cswimr/home
Archived
Template
1
0
Fork 0

Compare commits

...

2 commits

Author SHA1 Message Date
eeb2b6170f
added aliases for eza and bat 2024-11-14 13:18:41 -05:00
d46c945d9a
configured less syntax highlighting 2024-11-14 13:18:33 -05:00
2 changed files with 15 additions and 2 deletions

View file

@ -30,6 +30,15 @@ if (( $+commands[yay] )); then
alias pacstats="yaystats"
fi
if (( $+commands[bat] )); then
alias cat="bat"
fi
if (( $+commands[eza] )); then
alias ls="eza --icons"
alias l="eza -lh --icons"
fi
if (( $+commands[lazygit] )); then
alias lg="lazygit"
fi

8
.zshrc
View file

@ -108,13 +108,17 @@ source $ZSH/oh-my-zsh.sh
# User configuration
if (( $+commands[src-hilite-lesspipe.sh] )); then
export PAGER="less"
export LESSOPEN="| src-hilite-lesspipe.sh %s"
export LESS=' -R '
fi
# export MANPATH="/usr/local/man:$MANPATH"
# You may need to manually set your language environment
export LANG=en_US.UTF-8
# n³ settings
export NNN_ARCHIVE="\\.(7z|a|ace|alz|arc|arj|bz|bz2|cab|cpio|deb|gz|jar|lha|lz|lzh|lzma|lzo|rar|rpm|rz|t7z|tar|tbz|tbz2|tgz|tlz|txz|tZ|tzo|war|xpi|xz|Z|zip)$"
export NNN_PLUG='l:!lazygit*;d:!lazydocker*'