programs/terminal/shell: update bat to work with man and --help

This commit is contained in:
Anthony Rodriguez 2025-02-04 14:30:50 +01:00
parent a65a622d50
commit 45bb7fad8d
Signed by: nezia
SSH key fingerprint: SHA256:R/ue1eTzTHUoo77lJD/3fSUsyL4AwvcHImU5BAZai+8

View file

@ -70,6 +70,7 @@ in {
source ${pkgs.zsh-autosuggestions}/share/zsh-autosuggestions/zsh-autosuggestions.zsh source ${pkgs.zsh-autosuggestions}/share/zsh-autosuggestions/zsh-autosuggestions.zsh
# aliases # aliases
## git
alias lg='lazygit' alias lg='lazygit'
alias g='git' alias g='git'
alias gs='git status' alias gs='git status'
@ -87,6 +88,10 @@ in {
alias gt='git stash' alias gt='git stash'
alias gtp='git stash pop' alias gtp='git stash pop'
alias gu='git pull' alias gu='git pull'
## bat
alias man='batman'
alias -g -- --help='--help 2>&1 | bat --language=help --style=plain'
''; '';
}; };
}; };