# Fix for WebKit
# KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
# Failed to create GBM buffer of size ...x...: Permission denied
export WEBKIT_DISABLE_DMABUF_RENDERER=1

# Python
export PYTHONDONTWRITEBYTECODE=1

shopt -s cdspell
shopt -s autocd shift_verbose
shopt -s dirspell


# Bash history settings
export HISTSIZE=3000
export HISTCONTROL=$HISTCONTROL:ignoredups


# Default Editor
export EDITOR=newton


# Default FZF
# Note: bat is cat but with colors
export FZF_DEFAULT_OPTS="--layout=reverse --height=100% --preview='bat -p --color=always {}'"
