2

It gets pretty long when I'm deep in my folder structure and it sometimes covers the line in the terminal.

Secondly how to show git branch if the folder is git initiated?

Thirdly, how to funk up a few things to make it look cool?

How to set in terminal shortcut to open a new tab in the current terminal on pressing Ctrl + N?

3
  • 1
    You should ask separate questions because there are 2 or 4 separate questions and threads here. As for your last question look at elementaryos.stackexchange.com/questions/4318/…
    – lemonslice
    Nov 18, 2016 at 7:21
  • Thank you. I thought it might serve as a good document for all those who want to tweak their Pantheon terminal, hence all in one question.
    – Viv
    Nov 18, 2016 at 7:37
  • Actually for tweaking path you can look at any bash/sh resources at other stack overflow sites (I would suggest that you start at unix&linux) I don't think there is much pantheon terminal specific.
    – lemonslice
    Nov 18, 2016 at 7:39

3 Answers 3

0

The answer to the first three questions is powerline. I personally also used fish, which is cool if you don't care for compatibility. If you do, the answer is zsh and particularly oh-my-zsh.

1

You can customize your bash prompt by editing the PS1 and PS2 environment variables. Digital Ocean's Bash Prompt tutorial explains how this works. You could also use a tool like EZPrompt to generate the variable for you.

0

Go to this link: Prompt branches and tab completion

This will show just the current folder and if inside a git repository it will show the current branch as well.

Not the answer you're looking for? Browse other questions tagged or ask your own question.