Added Alias for bat and configured it als manpager
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
#!/bin/bash
|
||||
alias cp="cp -vi"
|
||||
alias sless='less -S -R'
|
||||
#alias dmcreate='docker-machine create --driver google --google-project crypto-galaxy-182614 --google-zone us-west1-a --google-machine-type f1-micro vm01 ; eval $(docker-machine env vm01)'
|
||||
@@ -48,4 +49,7 @@ if (hash exa 2>/dev/null) ; then
|
||||
alias ll='exa -l --git --icons --group-directories-first'
|
||||
alias lt='exa -lT --level 2 --git --git-ignore --group-directories-first'
|
||||
fi
|
||||
|
||||
if (hash bat 2>/dev/null) ; then
|
||||
export MANPAGER="sh -c 'col -bx | bat -l man -p'"
|
||||
alias cat='bat'
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user