Arch-Config/bashrc

36 lines
750 B
Bash

#
# ~/.bashrc
#
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
alias ls='ls --color=auto'
alias grep='grep --color=auto'
PS1='[\u@\h \W]\$ '
## user generated stuff for wayland
export XDG_SESSION_TYPE="wayland"
export QT_QPA_PLATFORM="wayland;xcb"
export SDL_VIDEODRIVER="wayland,x11"
export _JAVA_AWT_WM_NONREPARENTING=1
export MOZ_ENABLE_WAYLAND=1
export BEMENU_BACKEND=wayland
## Theming
export GTK_THEME="Adwaita:dark"
export QT_STYLE_OVERRIDE=adwaita-dark
## Shell
eval "$(starship init bash)"
alias ls="exa"
alias ll="exa -l -g --icons --git"
alias llt="exa -1 --icons --tree --git-ignore"
alias cat="bat"
alias find="fd"
alias ps="procs"
alias du="dust"
alias grep="rg"
alias top="btm"
alias vimdiff="delta"