<commit_before># Notes for video:  http://www.youtube.com/watch?v=N8CZhlIssdk
##############################################

# add this to your ~/.bashrc or ~/.zshrc and reload your shell

#------------------------------------------


# find alternative apps if it is installed on your system
find_alt() { for i;do which "$i" >/dev/null && { echo "$i"; return 0;};done;return 1; }

# Use the first program that it detects in the array as the default app
export PKMGR=$(find_alt yaourt pacman aptitude apt-get yum zypper emerge xbps-install)

#-------- Gotbletu Universal Package Manager {{{
#------------------------------------------------------
# legends# {{{
# https://wiki.archlinux.org/index.php/Pacman_Rosetta
# http://old-en.opensuse.org/Software_Management_Command_Line_Comparison
# https://bbs.archlinux.org/viewtopic.php?pid=1281605#p1281605
# Arch			-- pacman, yaourt
# Debian/Ubuntu		-- apt-get(apt), aptitude, dpkg<commit_msg>Moved xbps-install to front of detection array to quiet which<commit_after># Notes for video:  http://www.youtube.com/watch?v=N8CZhlIssdk
##############################################

# add this to your ~/.bashrc or ~/.zshrc and reload your shell

#------------------------------------------


# find alternative apps if it is installed on your system
find_alt() { for i;do which "$i" >/dev/null && { echo "$i"; return 0;};done;return 1; }

# Use the first program that it detects in the array as the default app
export PKMGR=$(find_alt xbps-install yaourt pacman aptitude apt-get yum zypper emerge)

#-------- Gotbletu Universal Package Manager {{{
#------------------------------------------------------
# legends# {{{
# https://wiki.archlinux.org/index.php/Pacman_Rosetta
# http://old-en.opensuse.org/Software_Management_Command_Line_Comparison
# https://bbs.archlinux.org/viewtopic.php?pid=1281605#p1281605
# Arch			-- pacman, yaourt
# Debian/Ubuntu		-- apt-get(apt), aptitude, dpkg
{'fraction_non_alphanumeric': 0.2629668049792531, 'fraction_numerical': 0.017634854771784232, 'mean_word_length': 2.804733727810651, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 4, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6352758', 'n_tokens_mistral': 621, 'n_tokens_neox': 565, 'n_words': 160}