Add groups script, add .local/bin to PATH
This commit is contained in:
parent
9e2d1e49d6
commit
9ac5ea9e15
3 changed files with 9 additions and 2 deletions
8
dot_local/bin/executable_groups
Normal file
8
dot_local/bin/executable_groups
Normal 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;
|
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue