From 35781707cadc4780d12f4b7a8a5c8cc45b3e629d Mon Sep 17 00:00:00 2001 From: ivam3 Date: Sat, 21 Oct 2023 10:54:27 -0600 Subject: [PATCH] update list of tools --- .deb/home/.config/fish/functions/i-Haklab.fish | 12 ++++++++---- .deb/home/.local/etc/i-Haklab/functions | 2 +- .deb/manifiest.json | 5 +++-- .deb/postinst | 2 +- 4 files changed, 13 insertions(+), 8 deletions(-) diff --git a/.deb/home/.config/fish/functions/i-Haklab.fish b/.deb/home/.config/fish/functions/i-Haklab.fish index 4a8c4e6c..7ddfb6b4 100644 --- a/.deb/home/.config/fish/functions/i-Haklab.fish +++ b/.deb/home/.config/fish/functions/i-Haklab.fish @@ -1,8 +1,12 @@ function i-Haklab - if test (count $argv) -gt 0 -a (test -f /data/data/com.termux/files/home/.local/libexec/i-Haklab/$argv[1] 2>/dev/null) - bash /data/data/com.termux/files/home/.local/libexec/i-Haklab/$argv[1] $argv[2..-1] - else + if test (count $argv) -gt 0 + if test -f /data/data/com.termux/files/home/.local/libexec/i-Haklab/$argv[1] + bash /data/data/com.termux/files/home/.local/libexec/i-Haklab/$argv[1] $argv[2..-1] + else + echo -en "\e[31m(➤_)\e[0m invalid argument, type i-Haklab help for helpper\n" + end + else echo -en "\e[31m(➤_)\e[0m missing argument, type i-Haklab help for helpper\n" - end + end end diff --git a/.deb/home/.local/etc/i-Haklab/functions b/.deb/home/.local/etc/i-Haklab/functions index 5c54c78b..a703c7ab 100644 --- a/.deb/home/.local/etc/i-Haklab/functions +++ b/.deb/home/.local/etc/i-Haklab/functions @@ -218,7 +218,7 @@ _$Y COMMAND$W |$Y DESCRIPTION$W ╰adminfiles──────────────────────➤ Copy any file from internal/external storage at termux directory ╰bat─────────────────────────────➤ Use it instead of command 'cat' for text highlighting ╰cinderella──────────────────────➤ Virtual assist exclusively for the use of termux -╰cmd─────────────────────────────➤ Provides information about the mounted memory +╰cmd─────────────────────────────➤ Mannage android main settings over Termux ╰df──────────────────────────────➤ Provides information about the mounted memory ╰du──────────────────────────────➤ Provides recursive information about the weight of directories and files ╰fixer───────────────────────────➤ Automate process to fix Termux issues diff --git a/.deb/manifiest.json b/.deb/manifiest.json index fd8fea6f..ffce1f7f 100644 --- a/.deb/manifiest.json +++ b/.deb/manifiest.json @@ -1,6 +1,6 @@ { "name": "i-haklab", - "version": "3.8.1", + "version": "3.8.2", "arch": "all", "homepage": "https://github.com/ivam3/i-Haklab", "maintainer": "Ivam3 ", @@ -14,6 +14,7 @@ "home/.config/fish/functions/cinderella.fish": "/data/data/com.termux/files/home/.config/fish/functions/cinderella.fish", "home/.config/fish/functions/pm.fish": "/data/data/com.termux/files/home/.config/fish/functions/pm.fish", "home/.config/fish/functions/cmd.fish": "/data/data/com.termux/files/home/.config/fish/functions/cmd.fish", + "home/.config/fish/functions/gitbrowsering.fish": "/data/data/com.termux/files/home/.config/fish/functions/gitbrowsering.fish", "home/.config/fish/functions/fish_greeting.fish": "/data/data/com.termux/files/home/.config/fish/functions/fish_greeting.fish", "home/.config/fish/functions/ls.fish": "/data/data/com.termux/files/home/.config/fish/functions/ls.fish", "home/.config/fish/functions/LOCALHOST.fish": "/data/data/com.termux/files/home/.config/fish/functions/LOCALHOST.fish", @@ -3209,7 +3210,7 @@ "home/.local/libexec/i-Haklab/setuser": "/data/data/com.termux/files/home/.local/libexec/i-Haklab/setuser", "home/.local/libexec/i-Haklab/setapikey": "/data/data/com.termux/files/home/.local/libexec/i-Haklab/setapikey", "home/.local/libexec/i-Haklab/aptup": "/data/data/com.termux/files/home/.local/libexec/i-Haklab/aptup", - "home/.local/libexec/i-Haklab/gitbrowsering": "/data/data/com.termux/files/home/.local/libexec/i-Haklab/gitbrowsering", + "home/.local/libexec/gitbrowsering.py": "/data/data/com.termux/files/home/.local/libexec/gitbrowsering.py", "home/.local/libexec/i-Haklab/ransomux": "/data/data/com.termux/files/home/.local/libexec/i-Haklab/ransomux", "home/.local/libexec/i-Haklab/help": "/data/data/com.termux/files/home/.local/libexec/i-Haklab/help", "home/.netrc": "/data/data/com.termux/files/home/.netrc", diff --git a/.deb/postinst b/.deb/postinst index c669baf6..4c076ea3 100644 --- a/.deb/postinst +++ b/.deb/postinst @@ -140,7 +140,7 @@ if [[ -e ${HOME}/.local/libexec/i-Haklab.login.backup ]]; then cat ${HOME}/.local/libexec/i-Haklab.login.backup > ${HOME}/.local/libexec/i-Haklab.login rm ${HOME}/.local/libexec/i-Haklab.login.backup fi -echo -en "[updates]\n ╰──➤ New commands added:\n |\t\t• i-Haklab chatGPT\n |\t\t• cinderella\n ╰──➤ New features:\n\t\t• type into neovim 'alter', 'comma', 'n' \n\t\t (alt + , + n) to use AI" +echo -en "[updates]\n ╰──➤ New commands added:\n |\t\t• cmd\n |\t\t• gitbrowsering\n |\t\t• i-Haklab chatGPT\n |\t\t• cinderella\n ╰──➤ New features:\n\t\t• type into neovim 'alter', 'comma', 'n' \n\t\t (alt + , + n) to use AI" echo "[*] i-Haklab installation finished." echo "[*] run 'i-Haklab help' for a guide." echo "[*] Run 'fixer' to fix any posible issue."