LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Editing properties of your terminal/shell ? (http://www.linuxquestions.org/questions/linux-software-2/editing-properties-of-your-terminal-shell-238168/)

fredgt 10-03-2004 07:28 AM

Editing properties of your terminal/shell ?
 
I was wondering on how i can edit the properties of my shell or terminal whatever you want to call it.
Now my shell shows the complete path to the directory i,m working in of the complete path starting from my home directory but this sometimes can be e very long string so how can i edit it so it only shows the last directory your working in or a maximum amount of characters?
I know it's possible somehow but i don't know how, I switched from mandrake to suse and in mandrake it was only showing the last directory.

THX

spariggio82 10-03-2004 07:41 AM

Try giving a look in .bashrc directory in your home directory.

Skyline 10-03-2004 08:26 AM

You can find a list of Bash prompt options here: - look at the "Customization Options" section.

http://www.linuxlookup.com/html/arti...m-prompts.html

fredgt 10-03-2004 11:30 AM

Thanks a combination of the two did the trick.
I only had to edit the PS1 variable.


All times are GMT -5. The time now is 11:50 PM.