updated antidote config somewhat
This commit is contained in:
parent
7e33d7c962
commit
ba8cf2c09f
27 changed files with 361 additions and 178 deletions
33
dot_config/zsh/files/distroicon.zsh
Normal file
33
dot_config/zsh/files/distroicon.zsh
Normal file
|
@ -0,0 +1,33 @@
|
|||
# find out which distribution we are running on
|
||||
FILE="/etc/*-release"
|
||||
if [[ -f $FILE ]]; then
|
||||
_distro=$(awk '/^ID=/' /etc/*-release | awk -F'=' '{ print tolower($2) }')
|
||||
fi
|
||||
|
||||
# set an icon based on the distro
|
||||
case $_distro in
|
||||
*kali*) ICON="ﴣ";;
|
||||
*arch*|*endeavouros*) ICON="";;
|
||||
*debian*) ICON="";;
|
||||
*raspbian*) ICON="";;
|
||||
*ubuntu*) ICON="";;
|
||||
*elementary*) ICON="";;
|
||||
*fedora*) ICON="";;
|
||||
*coreos*) ICON="";;
|
||||
*gentoo*) ICON="";;
|
||||
*mageia*) ICON="";;
|
||||
*centos*) ICON="";;
|
||||
*opensuse*|*tumbleweed*) ICON="";;
|
||||
*sabayon*) ICON="";;
|
||||
*slackware*) ICON="";;
|
||||
*linuxmint*) ICON="";;
|
||||
*alpine*) ICON="";;
|
||||
*aosc*) ICON="";;
|
||||
*nixos*) ICON="";;
|
||||
*devuan*) ICON="";;
|
||||
*manjaro*) ICON="";;
|
||||
*rhel*) ICON="";;
|
||||
*) ICON="";;
|
||||
esac
|
||||
|
||||
export DISTROICON="$ICON"
|
Loading…
Add table
Add a link
Reference in a new issue