Add config for batcat, the nicer cat
This commit is contained in:
parent
bca227ff27
commit
b66256f83a
3 changed files with 9 additions and 1 deletions
6
.config/bat/config
Normal file
6
.config/bat/config
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
--theme="TwoDark"
|
||||||
|
|
||||||
|
--style="numbers,changes,header"
|
||||||
|
|
||||||
|
--map-syntax ".flake8:ini"
|
||||||
|
--map-syntax "poetry.lock:toml"
|
|
@ -20,7 +20,7 @@ git clone --bare git@git.webartifex.biz:alexander/dotfiles.git "$HOME/.dotfiles"
|
||||||
|
|
||||||
# Backup old dotfiles
|
# Backup old dotfiles
|
||||||
rm -rf "$HOME/.dotfiles.bak" >/dev/null
|
rm -rf "$HOME/.dotfiles.bak" >/dev/null
|
||||||
mkdir -p $HOME/.dotfiles.bak/.config/{git,shell} && \
|
mkdir -p $HOME/.dotfiles.bak/.config/{bat,git,shell} && \
|
||||||
/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME checkout 2>&1 | egrep "\s+\." | awk {'print $1'} | \
|
/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME checkout 2>&1 | egrep "\s+\." | awk {'print $1'} | \
|
||||||
xargs -I{} mv {} "$HOME/.dotfiles.bak"/{}
|
xargs -I{} mv {} "$HOME/.dotfiles.bak"/{}
|
||||||
|
|
||||||
|
|
2
.profile
2
.profile
|
@ -30,6 +30,8 @@ export REPOS="$HOME/repos"
|
||||||
|
|
||||||
# Configurations for various utilities
|
# Configurations for various utilities
|
||||||
|
|
||||||
|
export BAT_CONFIG_PATH="$HOME/.config/bat/config"
|
||||||
|
|
||||||
export LESSHISTFILE="${XDG_CACHE_HOME:-$HOME/.cache}/.lesshst"
|
export LESSHISTFILE="${XDG_CACHE_HOME:-$HOME/.cache}/.lesshst"
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue