Add font to kitty and add options for C++

This commit is contained in:
Leon Grünewald 2021-08-28 12:22:05 +02:00
parent b33a4ad59c
commit cae9ec5030
2 changed files with 15 additions and 3 deletions

View file

@ -6,7 +6,7 @@
#: individual font faces and even specify special fonts for particular
#: characters.
# font_family monospace
font_family Input Mono
# bold_font auto
# italic_font auto
# bold_italic_font auto

View file

@ -23,11 +23,11 @@ export FONTCONFIG_PATH=/etc/fonts
export UID=$(id -u)
export GID=$(id -g)
export MAKEOPTS="-j$(cat /proc/cpuinfo | awk -F: '$1 ~ /cpu cores/ { print $2 }' | head -n 1 | tr -d ' ')"
export PATH=$PATH:~/.local/bin:~/bin:
export EDITOR=vim
if [ -n "$(command -v composer)" ]; then
export PATH=$PATH:$(composer global config bin-dir --absolute -q)
fi
@ -35,3 +35,15 @@ fi
if [ -n "$(command -v rustc)" ]; then
export RUST_SRC_PATH=$(rustc --print sysroot)/lib/rustlib/src/rust/library
fi
if [ -n "$(command -v clang)" ]; then
export CC=clang
else
export CC=gcc
fi
if [ -n "$(command -v clang++)" ]; then
export CXX=clang++
else
export CXX=g++
fi