46 lines
996 B
Bash
46 lines
996 B
Bash
# if not running interactively, don't do anything
|
|
[[ $- != *i* ]] && return
|
|
|
|
# hidpi potential fix
|
|
export QT_AUTO_SCREEN_SCALE_FACTOR=1
|
|
# for waybar
|
|
export XDG_CURRENT_DESKTOP=Unity
|
|
# dark gtk themes
|
|
export GTK_THEME=Materia:dark
|
|
|
|
# set neovim as default editor
|
|
export VISUAL=nvim
|
|
export EDITOR=nvim
|
|
|
|
# add scripts folder to path
|
|
export PATH="/home/default/scripts:$PATH"
|
|
|
|
# dotnet
|
|
export MSBuildSDKsPath="/usr/share/dotnet/sdk/`dotnet --version`/Sdks/"
|
|
export DOTNET_CLI_TELEMETRY_OPTOUT=1
|
|
export PATH="/home/default/.dotnet/tools:$PATH"
|
|
|
|
# fcitx
|
|
export GTK_IM_MODULE=fcitx
|
|
export QT_IM_MODULE=fcitx
|
|
export XMODIFIERS="@im=fcitx"
|
|
|
|
# aliases
|
|
alias v=nvim
|
|
alias ls="ls --color=auto"
|
|
alias errors="journalctl -b -p err | less"
|
|
|
|
# git
|
|
export GIT_DISCOVERY_ACROSS_FILESYSTEM=true
|
|
source /usr/share/git/completion/git-prompt.sh
|
|
source /usr/share/git/completion/git-completion.bash
|
|
PS1='[\u@\h \W$(__git_ps1 " (%s)")]\$ '
|
|
|
|
# direnv
|
|
eval "$(direnv hook bash)"
|
|
|
|
# asdf-vm
|
|
. /opt/asdf-vm/asdf.sh
|
|
|
|
proverb
|