Compare commits

...

2 commits

Author SHA1 Message Date
41a768508b added bashrc and editet readme 2024-09-30 21:50:08 +02:00
c0d415c772 added bashrc 2024-09-30 21:49:05 +02:00
2 changed files with 40 additions and 0 deletions

View file

@ -15,3 +15,7 @@ Dependencies: [pacman-contrib](https://archlinux.org/packages/community/x86_64/p
I use my system with systemd-boot and UKIs. To generate them I use dracut-ukify. Just install this package and remove mkinitcpio. I use my system with systemd-boot and UKIs. To generate them I use dracut-ukify. Just install this package and remove mkinitcpio.
You should test this once with pacman -S linux. If the next boot fails fallback to your old boot entries for debugging. You should test this once with pacman -S linux. If the next boot fails fallback to your old boot entries for debugging.
## Shell
I use starship as prompt and have a few alias set to replace gnu tools with rust alternatives.
Just install exa, bat, fd, procs, dust, rg, btm and git-delta and customize your bashrc to your liking.

36
bashrc Normal file
View file

@ -0,0 +1,36 @@
#
# ~/.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"