Posts Tagged: terminal

I was looking for a way to easily print the current gemset I am in when working in the terminal. I found a stack overflow post, but it did not really satisfy me. With some googling I also found this post. I modified the script a tiny bit (color preferences + added __git_ps1 to detect branch) and would like to share you what I’ve got. This is the complete script I use now, copy & paste if you like. The result looks like this: [sourcecode] # This shows the git branch of the current directory… Read Article →

Scroll To Top