programs/terminal/shell: update bat to work with man and --help
This commit is contained in:
parent
a65a622d50
commit
45bb7fad8d
1 changed files with 5 additions and 0 deletions
|
@ -70,6 +70,7 @@ in {
|
|||
source ${pkgs.zsh-autosuggestions}/share/zsh-autosuggestions/zsh-autosuggestions.zsh
|
||||
|
||||
# aliases
|
||||
## git
|
||||
alias lg='lazygit'
|
||||
alias g='git'
|
||||
alias gs='git status'
|
||||
|
@ -87,6 +88,10 @@ in {
|
|||
alias gt='git stash'
|
||||
alias gtp='git stash pop'
|
||||
alias gu='git pull'
|
||||
|
||||
## bat
|
||||
alias man='batman'
|
||||
alias -g -- --help='--help 2>&1 | bat --language=help --style=plain'
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue