Compare commits
2 commits
89f366ae87
...
eeb2b6170f
Author | SHA1 | Date | |
---|---|---|---|
eeb2b6170f | |||
d46c945d9a |
2 changed files with 15 additions and 2 deletions
|
@ -30,6 +30,15 @@ if (( $+commands[yay] )); then
|
||||||
alias pacstats="yaystats"
|
alias pacstats="yaystats"
|
||||||
fi
|
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
|
if (( $+commands[lazygit] )); then
|
||||||
alias lg="lazygit"
|
alias lg="lazygit"
|
||||||
fi
|
fi
|
||||||
|
|
8
.zshrc
8
.zshrc
|
@ -108,13 +108,17 @@ source $ZSH/oh-my-zsh.sh
|
||||||
|
|
||||||
# User configuration
|
# 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"
|
# export MANPATH="/usr/local/man:$MANPATH"
|
||||||
|
|
||||||
# You may need to manually set your language environment
|
# You may need to manually set your language environment
|
||||||
export LANG=en_US.UTF-8
|
export LANG=en_US.UTF-8
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# n³ settings
|
# 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_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*'
|
export NNN_PLUG='l:!lazygit*;d:!lazydocker*'
|
||||||
|
|
Reference in a new issue