Commit Graph

13 Commits

Author SHA1 Message Date
Renaud (Nel) Morvan
da8b3f0010 Refactor window and tab title in tty
Term window title and tab title are now skinable
Tab title can be different from window title (when supported by term)
Default theme is optimized of usuability (no %u@%m: $~ in a 10 char tab)
Cleanup code duplication and add comment for supported terms
On osX it works great on iterm, and is decent once you tweak Terminal pref
Tested under GNU screen, iTerm and Apple Terminal, need to be tested on linux
TODO implement Konsole support (via dbus)
2011-01-30 08:21:49 +01:00
Robin Ramael
33bb6e797e Added an option to remove file afterwards. 2011-01-10 17:34:38 +01:00
SuprDewd
ea5c866c7e Support for more archive formats. 2010-12-25 13:28:16 +00:00
SuprDewd
cd35d86fff Added a function to extract various archives.
Also an alias for the function.
2010-12-24 22:20:57 +00:00
Sven Lito
d89d3a2703 merging in changes from robby's repo 2010-10-09 19:11:07 +01:00
Brandon Philips
e7ddaaa2b0 functions: fix title() to not match any $TERM
On my linux virtual terminals, where TERM="linux", I was getting
annoying output that was messing up my prompt.

It turns out the title function was always matching on the elif
statement for xterm/rxvt no matter what and the linux vt doesn't know
what to do with the title special control sequence and thus was printing
out garbage.

Through experimentation I figured out that the || inside of the [[ ]]
did not work:

export TERM=linux
$ if [[ $TERM =~ "^xterm" || $TERM == "rxvt" ]]; then echo $TERM; fi
linux

$ if [[ $TERM =~ "^xterm" ]] || [[ $TERM == "rxvt" ]]; then echo $TERM; fi

Signed-off-by: Brandon Philips <brandon@ifup.org>

openSUSE running zsh 4.3.10
2010-10-08 22:44:42 -07:00
Trevor Creech
36bc60455b Match xterm-color, the default OS X terminal 2010-09-20 17:31:17 -07:00
Robby Russell
a77aceaf5e Moving some rails and osx-specific functions to their corresponding plugin files 2010-06-03 12:55:07 -07:00
Robby Russell
210a72b441 Initial implementation of a new plugin system, so that people can managed which aliases/functions they want. 2010-06-03 12:03:26 -07:00
Dale Campbell
a8367b0df5 adding quotes to tab() 2009-12-26 00:41:37 -06:00
Robby Russell
4e57305bdd Adding a function that will open up a ticket in Lighthouse based on the number and there being a URL in a hidden file. 2009-12-16 11:23:41 -08:00
James Cox
fdffd77e9c merge upstream 2009-09-23 16:14:04 +01:00
Robby Russell
8dd06e3c73 Moving all zsh config options into a lib/ subdirectory to make way for some upcoming changes to directory structure and configuration options 2009-09-23 07:43:36 -07:00