How to customize Terminal Tabs

I am a long time iTerm user. I was able to configure the Window Title and tab with the following in my .bashrc file:
PS1=$'\[\033]2;\u::$PWD\[\007\]\[\033]1;$(basename $(dirname $PWD))/\W\[\007\]$ '
I am have run into several issues with the latest iTerm and Leopard Spaces - most notably if I open a few tabs, going back to the space with iTerm in progressively spins the wheel longer and longer until I have to restart iTerm.
So I would like to use Terminal and it's new tab feature but I haven't been able to program the text in each tab like I could in iTerm. I am not sure how showing 'bash' in each tab is useful. The above bash script would put the full path in the Window Title and a partial path (2 folders) in the tab.
Any help would be appreciated.

Hi!
Googleing for some "bash xterm title bar setting", I found some stuff (in italian..) and I made some tests....
BTW this works!
PS1='\u@\h:\w\$ \033]2;${USER}@$(hostname):${PWD}[\007]'
This sets first your local promt to "username@serrvername:localdir", then sets the Terminal Title bar to "USER@Hostname:PWD"
As usual it may slightly change, depending to the bash you're running.
Marco

Similar Messages

  • How to put Terminal tabs under it's window?

    Hello everyone. I'd like to move tabs of Terminal.app to bottom of the screen so that tabs are under the terminal window. Is this possible? I've looked through Terminal preferences and googled - found no solution.

    No.  They removed that functionality as an improvement to iTunes in version 11.    I saw one person mentioning making a screen grab of the window and displaying it as an image in Preview while looking at the actual iTunes in another window, but it doesn't quite strike me as being the same...
    http://www.apple.com/feedback/itunesapp.html

  • How to customize what new tabs display (Universal work list)

    Hello, Expert!!
    Please let me ask about subject.
    I made new tabs by customizing at "Universal Worklist Content Configuration", and then,
    I would like to customize what new tabs display.
    (Ex. Tab1 displays the document that subject name includes "Abc", or Tab2 displays the document that is sent within 5 days,, so on)
    Please could anyone let me know how to customize above!!
    Thanks
    /Yusuke

    Thanks,
    While trying that with the Tcode sm30 Iget the msg : The maintenance dialog for RSADMINA is incomplete or not defined
    How can I solve this ?
    Edited by: Youness NAJI on Jan 22, 2010 2:47 PM

  • Sap afs - how to customize matrix grid in sales order creation

    Hello,
    can anyone help to understand how to customize the matrix grid shown at sales order creation/change (VA01 - AFS Item overview tab - Matrix entry pushbutton). Here system, starting from inserted material nr, shows all possible combination from material's sales grid. The requirement asks to manage the matrix grid before it is shown to the user.
    Thanks in advance for your help
    maurizio

    Hi
    It depends on master data of your material
    Max

  • How to customize the Save as dialog Box for saving Web Query???

    Hello,
       we are usnging SAP NW Portal and BI 7.0 (SP14).
       We have published BI web queries in the Portal and it works just fine, now when the User select the Button "Save As" in the Context Menu of any web query, this will open a new Dialog Box name "Save As Dialog Box", so from this dialog box the user can select where to save the query, he/she have 3 options* to save qureies: My Favorites, Bex Portfolio and MyPortfolio, this also works fine.
      My Quetsion is: How can i customize the View of this "Save As" dialog box, so at the end the User can only select 2 Options:  My Favorites + MyPortfolio. So how to hide the Tab:  Bex Portfolio in the Dialog Box.
    Points for any good answer.
    Many Thanks and Regards,
    Nazih
    Edited by: Nazih Kayyali on Feb 3, 2009 4:04 AM

    In what you have posted, there is no reason it shouldn't work the same way in Acrobat 9. I would recommend that you submit your complete application to developer support.

  • How is the Consumption tab will update in the material master?

    Hi Friends,
    How is the Consumption tab will update in the material master?
    what are the customization required if consumption tab wants update with respective the qty?
    Regards,
    Hari Shankar

    Hi Friends ,
    I am very thankful to u all for your quick response,
    I have tested the two materials with two movement types of 601 and 954.
    when i did the 601 movement type the consumption tab in the material master has updated automatically even though  i haven't maintained forecasting tab, but where as for the movement type 954 the consumption tab is not updated even though i have maintained forecasting tab view in the material master.
    Is the consumption view will update based on the Material movement types?
    where is the control parameter for updating consumption tab?
    could you pls help me regarding this?
    Regards,
    Hari Shankar.

  • How to customize the infoview and dashboards.

    Post Author: [email protected]
    CA Forum: WebIntelligence Reporting
    Hi all,
    how to customize the infoview and dashboards.
    scenerio1: all users should have same look &  feel of infoview. - please tell me the steps how set the preferences for this scenerio.
    scenerio2: every should have  different look and feel (example user1 should have different view with user2). - please tell me the steps how set the preferences.
    Thanks,
    Madhu.

    Post Author: Use_BO
    CA Forum: WebIntelligence Reporting
    Hi Madhu,
    For Scenario 1 : Go to CMC.
    Go to : Home > BusinessObjects Enterprise Applcations > InfoView
    You can customise Inforview properties and Rights here, like setting up ur logo,style sheets etc.
    For Scenario 2: Each User will have to customize their own Infoview.
    Go to Infoview. On the top right corner will be 3 icons. Click on the 'Preferences' icon.
    In the General tab of preferences you can customise the infoview settings.
    Hope this helps.
    Thanks!!

  • How to customize solman_workcreate service in solman

    Hi all,
    i have a requirement as below.
    i need to change solman_workcreate service in solution manager.
    1)i need to replace new message link under incident management with notif_create (tcode screen).
    2)provide search link to search solution database
    can you please tell me
    1)how to find out the standard application used by solman_workcreate service ?
    2)can we replace new message link with Notif_create tcode?
    3)how to call search solution database functionality(is there any standard application or TCODE available)?
    Regards,
    VANI

    >
    Rajeev P wrote:
    > Could you please advice me how to remove the tab  "Recommended Tasks"
    > from Issue Management while we create new issue from work centre? I want
    > to customize that screen.
    Hi Rajeev,
    I just checked with development. In Screen "Create Issue", it's not possible to remove the tab "Recommended Tasks" by configuration.
    Through Common Tasks -> Issue Settings, tab Views, you can enable/disable the tabs:
    " Show the Following Tabs as Part of Issue Details for Issue Management"
    -  Messages/Expert-on-Demand
    -  Service Sessions
    -  Change Requests
    Best regards,
    Ruediger

  • How do I increase tab size?

    http://i.imgur.com/pMYJr4r.png
    I've been optimizing menu bar to save as much space as possible, and I am satified with what I got, with an exception of a singe fact - tabs are too small because the space is taken by adress bar. How do I increase tab length of decrease adress bar legth?

    Note that the location bar has a flex attribute.
    You can set the max-width of the location bar and the search bar to force a maximum width of these bars.
    Add code to the userChrome.css file below the default @namespace line.
    *http://kb.mozillazine.org/userChrome.css
    <pre><nowiki>@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */
    #urlbar-container {max-width:400px!important}
    #search-container {max-width:200px!important}
    </nowiki></pre>
    The customization files userChrome.css (user interface) and userContent.css (websites) are located in the chrome folder in the Firefox profile folder.
    *http://kb.mozillazine.org/Editing_configuration

  • How to customize the Application Express Homepage

    Would like to know how to customize the Application Express Home Page that user goes to when they login to APEX. Specifically, I'd like to present a SQL Workshop only Home Page by disabling the "Application Builder" and "Utilities" icons/tabs. So the idea is to have another class of user "SQL Developer" that has access to the SQL Workshop only functionality. Any suggestions on how to do this is appreciated. Thanks.

    Hi John,
    Thanks for the reply. That's unfortunate. Do you have any suggestions on how I might be able to mimic this functionality? Maybe develop another app that has only SQLWorkshop capabilities and redirect users to that app after login? Any idea on if this capability might be available in the future? Thanks.
    Will

  • New Terminal tab same ssh connection

    How do I open a new terminal tab so that it opens the same remote ssh connection as my current tab?

    ssh connections are a single process running in one shell, and when you create a new tab you are creating a new local shell that will not be running this process. Furthermore the remote server will not accept a duplicate connection from you without authentication. In essence, this is impossible to do. The closest thing you can do is make use of the bash history, and press the up arrow to scroll through your most recent commands until you get to the ssh command you used for your current connection, and then execute it.
    If the connection is a standard one you regularly use, then you can bookmark it in your .bashrc file by creating a function that points to it. For instance, the following in your .bashrc file would make a specific ssh connection be run by entering "myserver" at the command line:
    function myserver() {
         ssh username|password@hostname
    You can leave out the password option to have it prompt you for the password each time (it is also more secure to leave out the password).

  • [SOLVED] Naming terminator tabs by the command currently running

    I want terminal tabs to each have names of a command that is currently being run in each one. If a tab is "idle" (no command running) the tab name I want is $PWD.
    I found a way to name it $PWD, yet I have no ideo how to set it in case a command is running. Terminator (by default) is set to represent itself to system as xterm.
    I always have atleast 3 tabs open, and I just want to avoid the confusion.
    EDIT:
    I use zsh as default shell.
    Last edited by bstaletic (2014-05-12 21:26:39)

    A more simple approach is described here: http://stackoverflow.com/questions/2072 … t-with-zsh

  • How to customize Additional Shipping Deadlines in Shipment

    Hi,
    Could anyone please let me know how to customize the points in Additional Shipping Deadlines in Shipments (VL01N/VL02N).
    This comes in the Header/Dates tab. Indeed, I would like to define my own points.
    Thanks,

    IMG->Logistics Execution->Shipping->Basic Functions -> Scheduling -> Additional Deadlines
    There you can define your own deadlines, create event groups and link them to delivery types.
    Regards,
    Dominik Modrzejewski

  • How to Customize the Message "No Row Returned" from a Report

    Hi,
    I've been trying to customize the Message "No Row Returned" from a Report.
    First i followed the instructions in Note:183131.1 -
    How to Customize the Message "No Row Returned" from a Report
    But of course the OWA_UTIL.REDIRECT_URL in this solution did not work (in a portlet) and i found the metalink document 228620.1 which described how to fix it.
    So i followed the "fix" in the document above and now my output is,..
    "Portlet 38,70711 responded with content-type text/plain when the client was requesting content-type text/html"
    So i search in Metalink for the above and come up with,...
    Bug 3548276 PORTLET X,Y RESPONDED WITH CONTENT-TYPE TEXT/PLAIN INSTEAD OF TEXT/HTML
    And i've read it and read it and read it and read it and can't make heads or tails of what it's saying.
    Every "solution" seems to cause another problem that i have to fix. And all i want to do is customize the Message "No Row Returned" from a Report. Please,...does anyone know how to do this?

    My guess is that it only shows the number of rows it has retrieved. I believe the defailt is for it to only retrieve 50 rows and as you page through your report it retrieves more. So this would just tell you how many rows was retireved, but probably not how many rows the report would contain if you pages to the end. Oracle doesn't really have a notion of total number of rows until the whole result set has been materialized.

  • How to customize top navigation css in SharePoint 2013?

    Hi All,
    How to customize top navigation css in SharePoint 2013?(Want to add colors for each link in the navigation)
    My current page is like-
    Expected-

    Hi Sam,
    Please check the following article about how to style the top navigation with custom css.
    How to: Brand snippets by using CSS in SharePoint 2013
    Thanks
    Daniel Yang
    TechNet Community Support

Maybe you are looking for