Closed farhansadik closed 3 years ago
curl ~ sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
wget ~ sh -c "$(wget https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh -O -)"
@batasu I need you to test input_settings
functions for me and add a separate script for termux-sudo
.
input-settings
function has been added and tested!
termux-sudo
and termux-oh-my-zsh
needs to be tested!
@squaredevops
Test Report
termux-sudo
and termux-oh-my-zsh` worked!
getting error in ccli
Updating source file : /home/farhansadik/.oh-my-zsh/tools/check_for_upgrade.sh: line 32: syntax error near unexpected token `)'
/home/farhansadik/.oh-my-zsh/tools/check_for_upgrade.sh: line 32: `() {'
/home/farhansadik/.oh-my-zsh/oh-my-zsh.sh: line 21: autoload: command not found
/home/farhansadik/.oh-my-zsh/oh-my-zsh.sh: line 39: syntax error near unexpected token `('
/home/farhansadik/.oh-my-zsh/oh-my-zsh.sh: line 39: `for plugin ($plugins); do'
Done
same here
Updating source file : /data/data/com.termux/files/home/.oh-my-zsh/tools/check_for_upgrade.sh: line 32: syntax error near unexpected token `)'
/data/data/com.termux/files/home/.oh-my-zsh/tools/check_for_upgrade.sh: line 32: `() {'
/data/data/com.termux/files/home/.oh-my-zsh/oh-my-zsh.sh: line 21: autoload: command not found
/data/data/com.termux/files/home/.oh-my-zsh/oh-my-zsh.sh: line 39: syntax error near unexpected token `('
/data/data/com.termux/files/home/.oh-my-zsh/oh-my-zsh.sh: line 39: `for plugin ($plugins); do'
/data/data/com.termux/files/home/.zsh-syntax-highlighting/zsh-syntax-highlighting.zsh: line 31: alias: -L: invalid option
alias: usage: alias [-p] [name[=value] ... ]
/data/data/com.termux/files/home/.zsh-syntax-highlighting/zsh-syntax-highlighting.zsh: line 36: unalias: -m: invalid option
unalias: usage: unalias [-a] name [name ...]
/data/data/com.termux/files/home/.zsh-syntax-highlighting/zsh-syntax-highlighting.zsh: line 39: 0=${(%):-%N}: bad substitution
/data/data/com.termux/files/home/.zsh-syntax-highlighting/zsh-syntax-highlighting.zsh: line 42: /.version: No such file or directory
/data/data/com.termux/files/home/.zsh-syntax-highlighting/zsh-syntax-highlighting.zsh: line 43: /.revision-hash: No such file or directory
/data/data/com.termux/files/home/.zsh-syntax-highlighting/zsh-syntax-highlighting.zsh: line 104: autoload: command not found
/data/data/com.termux/files/home/.zsh-syntax-highlighting/zsh-syntax-highlighting.zsh: line 105: is-at-least: command not found
/data/data/com.termux/files/home/.zsh-syntax-highlighting/zsh-syntax-highlighting.zsh: line 188: syntax error near unexpected token `}'
/data/data/com.termux/files/home/.zsh-syntax-highlighting/zsh-syntax-highlighting.zsh: line 188: ` if [[ $WIDGET == zle-isearch-update ]] && { $zsh_highlight__pat_static_bug || ! (( $+ISEARCHMATCH_ACTIVE )) }; then'
Done
~/echominal-development $ source ~/.zshrc
bash: /data/data/com.termux/files/home/.oh-my-zsh/tools/check_for_upgrade.sh: line 32: syntax error near unexpected token `)'
bash: /data/data/com.termux/files/home/.oh-my-zsh/tools/check_for_upgrade.sh: line 32: `() {'
No command autoload found, did you mean:
Command autoconf in package autoconf
Command tload in package procps
Command gst-load in package smalltalk from the unstable-repo repository
bash: /data/data/com.termux/files/home/.oh-my-zsh/oh-my-zsh.sh: line 39: syntax error near unexpected token `('
bash: /data/data/com.termux/files/home/.oh-my-zsh/oh-my-zsh.sh: line 39: `for plugin ($plugins); do'
bash: alias: -L: invalid option
alias: usage: alias [-p] [name[=value] ... ]
bash: unalias: -m: invalid option
unalias: usage: unalias [-a] name [name ...]
bash: 0=${(%):-%N}: bad substitution
bash: /.version: No such file or directory
bash: /.revision-hash: No such file or directory
No command autoload found, did you mean:
Command autoconf in package autoconf
Command tload in package procps
Command gst-load in package smalltalk from the unstable-repo repository
is-at-least: command not found
bash: /data/data/com.termux/files/home/.zsh-syntax-highlighting/zsh-syntax-highlighting.zsh: line 188: syntax error near unexpected token `}'
bash: /data/data/com.termux/files/home/.zsh-syntax-highlighting/zsh-syntax-highlighting.zsh: line 188: ` if [[ $WIDGET == zle-isearch-update ]] && { $zsh_highlight__pat_static_bug || ! (( $+ISEARCHMATCH_ACTIVE )) }; then'
looks like we need to remove oh-my-zsh
No! we can keep the oh-my-fuckkkkk
but we will not install it! just like termux-sudo
. we're gonna leave that for letter update...
We can store main file or a link (shortcut) for /usr/bin
. Here is my experiment
~ $ cp -rv mycmd.bash $l
'mycmd.bash' -> '/data/data/com.termux/files/usr/bin/mycmd.bash'
~ $ cd termux-ohmyzsh/
~/termux-ohmyzsh $ mycmd.bash
this is a bash file
@farhansadik
Package nodejs is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'nodejs' has no installation candidate
tools/install: line 48: pip: command not found
looking for echominal base script
sorry no base file has been found
nodejs
packages tools/install: line 48: pip: command not found
- to fix this we need 1.5.02 report!looking for echominal base script
sorry no base file has been found
has same error! looks like its a programmatically error. here take a look:
~ $ ls -a $def_loc/echominal
/data/data/com.termux/files/home/.config/echominal/echominal
~ $ ls -a $def_loc/echominal | grep echominal
$ if [[ `ls -a $def_loc/echominal | grep echominal` == echominal ]]; then echo ok; else echo false; fi
false
It's worked
~/.config/echominal $ bash tools/install
looking for echominal base script
found file
getting base permissions
.termux
is working fine but some color changes happened. So let user to choose fonts and color scheme
Wait for next patch!!
Environment
Download & update location
$HOME/.config/echominal
Installation File Location Main engine
/data/data/com.termux/files/usr/bin/
For log$HOME/.config/echominal/log
Scripts$HOME/.config/echominal/scripts
Basic File$HOME/.config/echominal
Required Directory MP3 Converted output dir
/sdcard/MP3
Termux Backup & Restore dir/sdcard/termux-backup
Things to do
Online Installation (Package Installation/upgrade/update)
Offline Installation (file/directory creator/movement)
engine (chmod) permission
termux-oh-my-zsh [skipped]
input-settings (shell style)
ccli installation
termux sudo [make it optional]
termux-reload-settings
Optional
Tools
Termux API
Style
https://github.com/AlShakib/InternetSpeedMeter/blob/master/install.sh