ZSH Autosuggestions plugin.

This commit is contained in:
2021-04-03 17:01:19 +05:00
parent 4218c6b8b6
commit 858db76ad6
6 changed files with 38 additions and 1 deletions
+22
View File
@@ -0,0 +1,22 @@
# This file includes some variables that vital to all parts of
# this configuration.
OS=`uname`
OS_RELEASE=`uname -r`
# Distro detection.
LSBRELEASE=$(which lsb_release)
if [ $? -eq 0 ]; then
DISTRO=`lsb_release -i -s`
else
# BSDs OS and macOS can be detected via uname.
DISTRO=${OS}
fi
# Variable forcers.
# If DEBUG isn't defined - force it to be 0.
if [ -z ${DEBUG} ]; then
DEBUG=0
return 1
fi