Customize Linux Terminal!

A good way to prettify and enhance the outlook of a linux bash terminal is to use synth-shell. Do: git clone --recursive https://github.com/andresgongora/synth-shell.git cd synth-shell sudo chmod +x setup.sh ./setup.sh Additionally, neofetch can be installed on top synth-shell to further enhance the way in which the system summary is presented on the log-on screen. However, this requires root access to use apt, yum or dnp package manager. Since for remote clusters the root access is usually not available, this is optional....

 March 14, 2025  •   3 min  •   458 words  •   Suyog Garg

Do not ask for Git passphrase on each commit

So that we don’t have to write the passphrase each time we do git commit ! Add this to the bash file : env=~/.ssh/agent.env agent_load_env () { test -f "$env" && . "$env" >| /dev/null ; } agent_start () { (umask 077; ssh-agent >| "$env") . "$env" >| /dev/null ; } agent_load_env # agent_run_state: 0=agent running w/ key; 1=agent w/o key; 2= agent not running agent_run_state=$(ssh-add -l >| /dev/null 2>&1; echo $?...

 March 28, 2024  •   1 min  •   101 words  •   Suyog Garg