add env source

This commit is contained in:
RingOfStorms (Joshua Bell) 2024-10-29 20:20:45 -05:00
parent 42ee074791
commit 2d5351fbc4

View file

@ -1,4 +1,11 @@
# basics
# Check if ~/.config/environment exists and source all files within it
if [ -d "$HOME/.config/environment" ]; then
for file in "$HOME/.config/environment/"*; do
[ -r "$file" ] && . "$file"
done
fi
# Basics
htop_psg () {
htop -p $(psg $1 | awk '{r=r s $2;s=","} END{print r}')
}