Skip to content

Commit

Permalink
fix: problem with bat on ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
xzima committed Feb 26, 2023
1 parent 0170538 commit 4628d69
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .bash_aliases
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,17 @@ fi
# alias svim="sudo vim"
alias c='clear'
alias ed='$EDITOR'
alias vw='bat'
if [ -x /usr/bin/bat ]; then
alias vw='bat'
fi
if [ -x /usr/bin/bat ]; then
alias vw='bat'
elif [ -x /usr/bin/batcat ]; then
alias vw='batcat'
else
echo "bat not found!"
fi

alias git-u='git config --list | rg user'
alias git-github='git config user.name "Alex Zima"; git config user.email [email protected]'
# alias vimvim="vim ~/.vimrc"
Expand Down

0 comments on commit 4628d69

Please sign in to comment.