Skip to content

u/boseka

In this archive from Mar 2018 to Jan 2021

62
posts
289
comments
24
media
13k
score

I used to use bash-it to customize my bash, and used to use powerline as a prompt and many other bash-it plugins, i do use zsh with ohmyzsh on my tablet (in termux) with powerline prompt and some zsh plugins enabled.

I had a bug a while ago after updating bash-it on my machine which led me to seek a replacement (cuz i was too lazy to reinstall and configure bash-it and i also wanted to try something newer and faster "a python prompt like powerline wouldn't be the fastest") and that's how i ended up using starship as it advertised for speed and customizability, which is written in the read me file on github with bold font:

The minimal, blazing-fast, and infinitely customizable prompt for any shell!

Its really cool prompt with many features (it shows me a battery emoji for when I'm charging, discharging and when the battery gets to certain level ...etc., it has its thing when you are in a git repository, it lets you see what python version is the default when you are in a directory that contains python projects and files ..... and many other plugins for different tools and programming languages that i don't care about), the only downside that it's using a wierd design language to customize the prompt, but it was easy enough to get my head around it fast enough to get the job done and then i just saved my configuration file on my drive so i can reset it up if something goes wrong!

And i am not disappointed with this prompt for now, its fast, elegant, fast and it works.

I didn't hear about powerlevel10k before, but i would like to give it a try the next time when i get bored with my current setup if it works with bash, thanks for the recommendation.

2 points

Its a terminal emulator for android called termux, well it was a terminal emulator now its more like a linux distro on android

2 points

Looks amazing!!

May i ask what do you use to combine these 3 screenshots in a row (to create a collage) without loosing aspect ratio and resolution?

1 points
  • Termux latest version from Google Play Store

  • Running on Samsung Galaxy note 9 on Android 10.0 (not rooted)

  • All the customization (colorscheme and font) handled by termux-ohmyzsh:

https://github.com/Cabbagec/termux-ohmyzsh

  • Vim colorscheme: gruvbox

  • Vim plugins:

Plugin 'VundleVim/Vundle.vim' Plugin 'itchyny/lightline.vim' Plugin 'ervandew/supertab' Plugin 'flazz/vim-colorschemes' " one shop for vim colorschemes, add colorscheme after this line to use this plugin. Plugin 'scrooloose/nerdtree'

  • The banner (.zshrc)

.# print text on startup figlet -f slant "BOSEKA!!!" echo -e "\e[31m" " Bahaa!!! Welcome To Your Termux " echo echo -e "\e[33m" "**********************************************" echo

.# run neofetch on startup neofetch

  • my aliases:

alias uu='apt-get update && apt-get upgrade'

alias auto='apt-get autoremove && apt-get autoclean'

alias chcolor='~/.termux/colors.sh'

alias chfont='~/.termux/fonts.sh'

alias lf="ls -al | grep '[-l]'" .# to show only files

alias ldir="ls -al | grep 'd'" .# ld - is already taken .# to show all directories

alias ldr="ls -l -d */" .# list only not hidden directories

alias speedtest="speedtest-cli"

  • colored man pages (most unavailable for trmtrmu):

export LESS_TERMCAP_mb=$'\e[1;32m' export LESS_TERMCAP_md=$'\e[1;32m' export LESS_TERMCAP_me=$'\e[0m' export LESS_TERMCAP_se=$'\e[0m' export LESS_TERMCAP_so=$'\e[01;33m' export LESS_TERMCAP_ue=$'\e[0m' export LESS_TERMCAP_us=$'\e[1;4;31m'

  • Apps on screen:

Neofetch

Vim

Htop

Tmux

6 points

I agree with python being easy to read and to explain, but my problem is that I'm actually a medical student and usually i have no time to play with code, that's why i always over comment my code so it would be easy to understand when i come back to it, hopping i won't struggle much to remember basics.

Also i usually share my code on sololearn.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.