Switch from nvimpager to just nvim as pager
This commit is contained in:
parent
e5d07324a5
commit
9d3972a54a
3 changed files with 9 additions and 11 deletions
|
@ -6,15 +6,8 @@ alias gpush='git push'
|
|||
|
||||
alias mutt='neomutt'
|
||||
|
||||
# Syntax highlighting cat if output is a terminal
|
||||
cat() {
|
||||
# Check if output is a terminal, else use regular cat
|
||||
if [ -t 1 ]; then
|
||||
nvimpager $@
|
||||
else
|
||||
/usr/bin/cat $@
|
||||
fi
|
||||
}
|
||||
# Syntax highlighting cat
|
||||
alias cat='bat'
|
||||
|
||||
rip() {
|
||||
abcde
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue