Termux: Integrating and harmonising bash-it and ble.sh #2250
-
Hello In Termux, I have just recently first installed ble.sh, followed by bash-it. Bash-it, true to its name, has clobbered my ble.sh. I would really like to integrate and harmonise these two projects locally. I have not yet read the documentation for both projects. This post, is really a call for guidance, for how I may go about this from the bash-it side, and what I should really know, and what I should really, expressly, read and take notice of, in the documentation. I am surprised, as I just sourced my backup .bashrc prior to installing bash_it, but ble.sh was not reinstituted for that shell, which confuses me. All assistance greatly appreciated. Cheers |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 6 replies
-
If you install ble.sh in the default location (which is $ bash-it enable plugin blesh and restarting the session. |
Beta Was this translation helpful? Give feedback.
-
I actually installed ble.sh with: # Quick INSTALL to BASHRC (If this doesn't work, please follow Sec 1.3)
git clone --recursive --depth 1 --shallow-submodules https://github.com/akinomyoga/ble.sh.git
make -C ble.sh install PREFIX=~/.local
echo 'source ~/.local/share/blesh/ble.sh' >> ~/.bashrc And it worked with no obstruction, in Termux. I recursively synced ~/ble.sh in archival mode, to a subdirectory of my Bash Dotly dotfiles directory, deleted it from where it was first installed, then symlinked the source of truth, to its original location. Ble.sh worked successfully afterwards. I have not moved, the part of the installation within: I note your instruction, and executed: → bash-it enable plugin blesh
blesh enabled with priority 250. This output bodes well. I restarted the bash shell session, as instructed. I note that the prompt has not changed, and is still that of bash-it, but that the ble.sh commandline enhancements, such as highlighting and colours, for example, have been reimplemented. Prior to installing bash-it, I was trying to append the PID of the current shell session, to the prompt of ble.sh, but had no success. I tried a few different ways. I really would like to have the ble.sh prompt back, instead of that of bash-it, along with the PID customisation. I have followed instructions and created: Any direction you provide, is greatly appreciated. Thanking you in anticipation |
Beta Was this translation helpful? Give feedback.
-
Thank you so much for your knowledge, your patience, and your time. Due to you, I have contol of my shell once more. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
If you install ble.sh in the default location (which is
~/.local
), you can just turn on ble.sh by running$ bash-it enable plugin blesh
and restarting the session.