From 3be259f71ff1a20b9cc66c2c2907cae1c60437db Mon Sep 17 00:00:00 2001 From: Jesus Date: Mon, 11 Jul 2022 09:37:25 +0800 Subject: prepare re-compatibility with another OS unix-like --- hyperterm/hyperterm.sha512 | 42 +++++++++++++++++++++--------------------- hyperterm/tools/aliases.sh | 6 +++--- hyperterm/tools/sysinfo.sh | 4 ++-- 3 files changed, 26 insertions(+), 26 deletions(-) (limited to 'hyperterm') diff --git a/hyperterm/hyperterm.sha512 b/hyperterm/hyperterm.sha512 index 2c57d6f..d08a94a 100644 --- a/hyperterm/hyperterm.sha512 +++ b/hyperterm/hyperterm.sha512 @@ -1,27 +1,27 @@ d02b066e31cd063596fa18e47fd1d5c1f1a19b96c08285b96c1991eb95ff52e9e5096e529540222b3be30ff94726170ecf05cd9c554da137ed2baf7d248773c5 ../.bash_profile -1b9c148ab8577fe15b4d503ec480b36eeaea42bf7048e35a0866280ee87a6c8de31c54600a8e455147db987e7aa61c8aa585748a9945c0472992d28fdccb8c0f ./tools/export.sh -6f08ba1ca2f88ae12ab37bb809ce2408b39cc69c05bffb2015661b39761aaf3f50eef52f0f0779a7143c0990fd0a35696203dd7f023c2119597d57f23612f587 ./tools/virtualenv.sh -88b215a6c2df22bc84bda981b3ff1d27ba391f03e2b84b95adefe1e8885b079b0da7c885ec0ad3256b60b8da9efa9ba8ab28906ece76781b192ea474d579d143 ./tools/rar2zip.sh -81572df762582dc63ca7ce89a0aeed645931011b0d66909d9ac6c5d34d6e16ddab6a1edd385ac9328b11bb154fb6ecbe93f15c0396a0f33f6dcf4557cb430a02 ./tools/ssh-agent.sh -73becd983f15d68b3c459adb4fe847bbbd6343519640aa5e03bb530e61a59ed0545dd3b3621ad82da378bbf15c4d9ee63984004d3bfed26d9d9df643f1524de5 ./tools/proxy.sh -24ee7d176c3ee9e7080e1cc87d02f709d95bfcaad098843ff2d7de5168f8c7559a5ac79fd0da2ce81233ecbcf0b4b776aa60b6603020698482f45b080289fc4c ./tools/aliases.sh -ee1d6d1f9b010318985f7154c2a9173c8f2ab6b637cd3c8d2a9b403e83470e15a273dcff326a84f035660807d7cfcf04efe5abc0495e25ae7339b8807899cf0d ./tools/listuser.sh -36534e4fc0a53f589e6ea5833a6a70b49c59389abc4e10d70633b3ede3db3bade12d1d6a94392f94193d34a545f327858e93f6cca9d5d535a588a36eda930d89 ./tools/sysinfo.sh -f760432c3d76befad30588299eb2d1412d77b22fd850ffbd840c72123885d4e916a7e0b16e7048c5dcd6e58fa3bc0807cda18ae64045a7495684ba37109e4b4a ./tools/compress.sh -fab9d339a99c7d2e1809d1c44f533523c6bfcdcc8d63c62b335ce7d4c666c8bdd7ac319316bf71f043163a3a0184e25ecfe1ee32724627424d042a05fa80ce77 ./tools/vconverter.sh -579852abd8378d754fcaccb903c1fefcd4020a578ba63fb3687a08027a937fbbd18e8a1ac22b448edc14445e088134e1e909ae2f3bfea8702df8abf56000daa0 ./tools/ruby.sh -455838836f6cee00e8e2c3d255b47f1126f4a926b791297a3b9f580d1447411354951d9fa4bffc3968cbcf6566f4026b43d591d0514c9516b685b4b5a6a05d68 ./tools/network.sh -7447d3e167ab207d3ef4218e201a06bf5a3fc23281639f16f7f405f1d66b73923845d450fdb0a94672757866a9da0324f728564a1b61b2ed1678fe576eb565cf ./core/autocomplete.sh -065cfa39f1b4312ed275ad1039827a24f703176c653a8d27303d145f9d389a60ec5b3a9eb167e060cc6fd093b9c03cfb1a8b70254d444fbc6e62e2297d88b310 ./core/status.sh -2036a79215a5434e31f3406bea3f2ffa7e94ffef86c2d1ceb8865db29f19fe7f342f9cab93288f57c75daed36ef146f85d15f8d633931a27d55c3983f55ef15b ./core/git.sh -063759f010fbacacb540c645b8981f09f378db71b6873dbcfa4aa99ad1ec4a840a3580aa19f143eacec9bd533e571aab14f232fb4c4ba26af3e2e3f95d8ce1b3 ./core/update.sh -f3e00b2aa8ab9f3ab44570adaa2520408ed66fd00f551654d60b64a4be3546ec781b7efa39bcd774937e654b6ffb4c7af3f21eeb36caf9c01f82f85cf28e2b4d ./core/languages.sh -1cfba599047d84a17ff92b695ebf527a505a30acc9ec21a2b9f410a7ea6dde4b23b5cf62e557d82f2fe9a8980649942424b879ca53baae4d4cb3057681baa7b6 ./core/colors.sh ab3089453e35cc38544dffe672d532cbd559634937893a053937b599175688aecc5f3caad3064e818b883b027f27713194e3909dc3ab0246922cea00557c595a ./hyperterm.sh 1d70b22277aa1d37e770f952411687c30d47da8caae278e431208671af239591d259258b4982ca9b61faf57f266958a002180496b0db036a94250604212aa1bb ./themes/pure.sh -7efe3770a629d6168b1c9007f420d2d657fa38fc1673dd5dc365dcf3c9d4c34456e346f9ed739c347133f93ad78cf88d0d54fe95523ce5d91a51cd49650d7525 ./themes/special.sh -c6c149704883ce5cbbd941019259effb105dd6910c98910782024311b3362df2e68d03c947908d40686c2620c1521aeee2ffb019a906ad367be1cc3d429ecd82 ./themes/minterm.sh -0b6705dae598dff024fc10fd9c4710a298e7d2ab7b7f3895eb8654d1ad7236a0b0f72511f1db7df8155f32aa882ac2bf55a9d6a04c227ed6285b866ec3a29904 ./themes/simple.sh 07bb7b6bd609e855d0a7c9e39a0ff2959851f559106e8f59816312f298b03e87f39e53430869ed61a1271e265e976ea6b56f7ccee46c4ec3c37b40f1fc11cfad ./themes/default.sh 403fe028575baa22c39dd11ac56a246369b8e38524c216f6d564b59aa22c60a426941f755ad3adb75f212c9124350ce3aeb114ba365ded1ed33b62ac480a60aa ./themes/light_theme.sh +0b6705dae598dff024fc10fd9c4710a298e7d2ab7b7f3895eb8654d1ad7236a0b0f72511f1db7df8155f32aa882ac2bf55a9d6a04c227ed6285b866ec3a29904 ./themes/simple.sh +7efe3770a629d6168b1c9007f420d2d657fa38fc1673dd5dc365dcf3c9d4c34456e346f9ed739c347133f93ad78cf88d0d54fe95523ce5d91a51cd49650d7525 ./themes/special.sh +c6c149704883ce5cbbd941019259effb105dd6910c98910782024311b3362df2e68d03c947908d40686c2620c1521aeee2ffb019a906ad367be1cc3d429ecd82 ./themes/minterm.sh 074e8549d638dee7470583c04ebbb7408181974806bd5e2cf5fc134ddee83c01040ed9d59a8aa00a87287b25df1c2e23edf3c063426952a8aeb56db8310ef8fd ./themes/joy.sh +7447d3e167ab207d3ef4218e201a06bf5a3fc23281639f16f7f405f1d66b73923845d450fdb0a94672757866a9da0324f728564a1b61b2ed1678fe576eb565cf ./core/autocomplete.sh +2036a79215a5434e31f3406bea3f2ffa7e94ffef86c2d1ceb8865db29f19fe7f342f9cab93288f57c75daed36ef146f85d15f8d633931a27d55c3983f55ef15b ./core/git.sh +063759f010fbacacb540c645b8981f09f378db71b6873dbcfa4aa99ad1ec4a840a3580aa19f143eacec9bd533e571aab14f232fb4c4ba26af3e2e3f95d8ce1b3 ./core/update.sh +065cfa39f1b4312ed275ad1039827a24f703176c653a8d27303d145f9d389a60ec5b3a9eb167e060cc6fd093b9c03cfb1a8b70254d444fbc6e62e2297d88b310 ./core/status.sh +1cfba599047d84a17ff92b695ebf527a505a30acc9ec21a2b9f410a7ea6dde4b23b5cf62e557d82f2fe9a8980649942424b879ca53baae4d4cb3057681baa7b6 ./core/colors.sh +f3e00b2aa8ab9f3ab44570adaa2520408ed66fd00f551654d60b64a4be3546ec781b7efa39bcd774937e654b6ffb4c7af3f21eeb36caf9c01f82f85cf28e2b4d ./core/languages.sh +455838836f6cee00e8e2c3d255b47f1126f4a926b791297a3b9f580d1447411354951d9fa4bffc3968cbcf6566f4026b43d591d0514c9516b685b4b5a6a05d68 ./tools/network.sh +7654c0c706b4b09f7e9a7536fad265410efd739fbed291241b72304ef11869757fdbc3f9ab4333451f6fdafd5d492ba07aa8c846927474979d1b9c69f573a641 ./tools/sysinfo.sh +73becd983f15d68b3c459adb4fe847bbbd6343519640aa5e03bb530e61a59ed0545dd3b3621ad82da378bbf15c4d9ee63984004d3bfed26d9d9df643f1524de5 ./tools/proxy.sh +f760432c3d76befad30588299eb2d1412d77b22fd850ffbd840c72123885d4e916a7e0b16e7048c5dcd6e58fa3bc0807cda18ae64045a7495684ba37109e4b4a ./tools/compress.sh +1b9c148ab8577fe15b4d503ec480b36eeaea42bf7048e35a0866280ee87a6c8de31c54600a8e455147db987e7aa61c8aa585748a9945c0472992d28fdccb8c0f ./tools/export.sh +6f08ba1ca2f88ae12ab37bb809ce2408b39cc69c05bffb2015661b39761aaf3f50eef52f0f0779a7143c0990fd0a35696203dd7f023c2119597d57f23612f587 ./tools/virtualenv.sh +0b9671c851278cd6a5484ab95b62606b0b925f9606f4de400c5e15a66e35e86bb6bb15e4e1b599ca819c230604bce0ca755d599ec9cd59a14b41f352ef897997 ./tools/aliases.sh +ee1d6d1f9b010318985f7154c2a9173c8f2ab6b637cd3c8d2a9b403e83470e15a273dcff326a84f035660807d7cfcf04efe5abc0495e25ae7339b8807899cf0d ./tools/listuser.sh +88b215a6c2df22bc84bda981b3ff1d27ba391f03e2b84b95adefe1e8885b079b0da7c885ec0ad3256b60b8da9efa9ba8ab28906ece76781b192ea474d579d143 ./tools/rar2zip.sh +fab9d339a99c7d2e1809d1c44f533523c6bfcdcc8d63c62b335ce7d4c666c8bdd7ac319316bf71f043163a3a0184e25ecfe1ee32724627424d042a05fa80ce77 ./tools/vconverter.sh +81572df762582dc63ca7ce89a0aeed645931011b0d66909d9ac6c5d34d6e16ddab6a1edd385ac9328b11bb154fb6ecbe93f15c0396a0f33f6dcf4557cb430a02 ./tools/ssh-agent.sh +579852abd8378d754fcaccb903c1fefcd4020a578ba63fb3687a08027a937fbbd18e8a1ac22b448edc14445e088134e1e909ae2f3bfea8702df8abf56000daa0 ./tools/ruby.sh diff --git a/hyperterm/tools/aliases.sh b/hyperterm/tools/aliases.sh index 5493a6f..485039f 100644 --- a/hyperterm/tools/aliases.sh +++ b/hyperterm/tools/aliases.sh @@ -5,8 +5,8 @@ alias df='df -h' # human-readable sizes alias ep='emacs PKGBUILD' alias free='free -hm' # show sizes in humans format alias grep='grep --color=tty -d skip' -alias la='ls -la --group-directories-first --time-style=+"%d.%m.%Y %H:%M" --color=auto -F' -alias ll='ls -l --group-directories-first --time-style=+"%d.%m.%Y %H:%M" --color=auto -F' -alias ls='ls --group-directories-first --time-style=+"%d.%m.%Y %H:%M" --color=auto -F' +alias la='ls -la --color=auto -F' +alias ll='ls -l --color=auto -F' +alias ls='ls --color=auto -F' alias np='nano PKGBUILD' alias pastebin='curl -X POST https://bpa.st/curl -F "raw=<-"' diff --git a/hyperterm/tools/sysinfo.sh b/hyperterm/tools/sysinfo.sh index 6d89bcd..2af9a5c 100644 --- a/hyperterm/tools/sysinfo.sh +++ b/hyperterm/tools/sysinfo.sh @@ -7,7 +7,7 @@ function ii() { es) printf '%s\e[1;36m%s\e[m\n' "Has iniciado sesión en " "$(hostname -f 2> /dev/null || hostname)" printf '\n\e[1;32m%s\e[m\n%s\n' "Información adicional:" "$(uname -a)" - printf '\n\e[1;32m%s\e[m\n%s\n' "Usuarios Conectados:" "$(who -u)" + printf '\n\e[1;32m%s\e[m\n%s\n' "Usuarios Conectados:" "$(who -u 2> /dev/null)" printf '\n\e[1;32m%s\e[m\n%s\n' "Fecha actual:" "$(date)" printf '\n\e[1;32m%s\e[m\n%s\n' "Estadísticas de la máquina:" "$(uptime)" printf '\n\e[1;32m%s\e[m\n%s\n' "Estadísticas de la memoria:" "$(free)" @@ -19,7 +19,7 @@ function ii() { *) printf '%s\e[1;36m%s\e[m\n' "You are logged on " "$(hostname -f 2> /dev/null || hostname)" printf '\n\e[1;32m%s\e[m\n%s\n' "Additionnal information:" "$(uname -a)" - printf '\n\e[1;32m%s\e[m\n%s\n' "Users logged:" "$(who -u)" + printf '\n\e[1;32m%s\e[m\n%s\n' "Users logged:" "$(who -u 2> /dev/null)" printf '\n\e[1;32m%s\e[m\n%s\n' "Current date:" "$(date)" printf '\n\e[1;32m%s\e[m\n%s\n' "Machine stats:" "$(uptime)" printf '\n\e[1;32m%s\e[m\n%s\n' "Memory stats:" "$(free)" -- cgit v1.2.3