1
Fork 0

Add groups script, add .local/bin to PATH

This commit is contained in:
Joshua Goins 2022-08-02 15:05:08 -04:00
parent 9e2d1e49d6
commit 9ac5ea9e15
3 changed files with 9 additions and 2 deletions

View file

@ -0,0 +1,8 @@
#!/bin/bash
shopt -s nullglob
for g in $(find /sys/kernel/iommu_groups/* -maxdepth 0 -type d | sort -V); do
echo "IOMMU Group ${g##*/}:"
for d in $g/devices/*; do
echo -e "\t$(lspci -nns ${d##*/})"
done;
done;

View file

@ -60,5 +60,4 @@ key[Control-Right]="${terminfo[kRIT5]}"
[[ -n "${key[Control-Left]}" ]] && bindkey -- "${key[Control-Left]}" backward-word
[[ -n "${key[Control-Right]}" ]] && bindkey -- "${key[Control-Right]}" forward-word
export GEM_HOME="$(ruby -e 'puts Gem.user_dir')"
export PATH="$PATH:$GEM_HOME/bin"
export PATH="$PATH:$HOME/.local/bin"