[Konsole-devel] [Bug 163936] New: [RFE] save/restore profile variables via "konsoleprofile"

Matthew Woehlke mw_triad at users.sourceforge.net
Thu Jun 12 22:48:05 UTC 2008


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=163936         
           Summary: [RFE] save/restore profile variables via
                    "konsoleprofile"
           Product: konsole
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: NEW
          Severity: wishlist
          Priority: NOR
         Component: general
        AssignedTo: konsole-devel kde org
        ReportedBy: mw_triad users sourceforge net


Version:            (using Devel)
Installed from:    Compiled sources
OS:                Linux

I love the utility of 'konsoleprofile'! But you know those pesky users, give them a steak, and they want lobster as well :-). Would it be terribly hard to add the ability to save/restore variables this way? I'm thinking something like this:

# .bashrc
su() {
  konsoleprofile "push(ColorScheme);ColorScheme=Root"
  command su
  konsoleprofile "pop(ColorScheme)"
}

...bonus points for adding command chaining (if it's not already possible?), but I don't have any particular need for it, I'm just a lazy typist in bug reports ;-).



More information about the konsole-devel mailing list