grml-etc-core.git
14 years ago Update changelog for release v0.3.76
Michael Prokop [Wed, 14 Oct 2009 07:27:04 +0000 (09:27 +0200)]
 Update changelog for release

14 years agozshrc: actively do: "setopt unset"
Frank Terbeck [Sun, 11 Oct 2009 23:10:30 +0000 (01:10 +0200)]
zshrc: actively do: "setopt unset"

It seems like some people think it is a good idea to unset that option.
That is a very bad idea though.

Why? Well, because of this:
% unset foo
% echo "foo$foo"
zsh: foo: parameter not set

That is totally incompatible with every other bourne like shell out
there. And it breaks many shell idioms.

In fact, it will break at least 'vcs_info()' and 'accept_line()' for us.
Which is unacceptable.

I also added 'emulate -L zsh' to accept-line() and vcs_info(), which are
two functions, that will fail horribly with 'unset' unset. That will
leave the shell intact even if someone wants to 'setopt no_unset' in
his/her .zshrc.local

14 years agoUse *-pattern-* for incremental history searches
Frank Terbeck [Thu, 8 Oct 2009 09:31:07 +0000 (11:31 +0200)]
Use *-pattern-* for incremental history searches

14 years agoFix one and add another is*() function
Frank Terbeck [Thu, 8 Oct 2009 09:26:45 +0000 (11:26 +0200)]
Fix one and add another is*() function

The new one is is439 which checks for zsh 4.3.9 and newer.

The fix is in is433, which did not return true for versions like 4.4.x and similar.
That is currently not a problem, but may become once such a version is out.

14 years agoAdd missing Closes: for #741
Frank Terbeck [Mon, 21 Sep 2009 18:36:32 +0000 (20:36 +0200)]
Add missing Closes: for #741

14 years agozshrc: add openssl hash functions
Frank Terbeck [Mon, 21 Sep 2009 11:21:58 +0000 (13:21 +0200)]
zshrc: add openssl hash functions

Initially written by Axel Beckert, minor changes by me.

14 years agoUpdate/fix debian/changelog v0.3.75
Michael Prokop [Mon, 7 Sep 2009 15:59:23 +0000 (17:59 +0200)]
Update/fix debian/changelog

14 years agoBump Standards-Version to 3.8.3
Michael Prokop [Mon, 7 Sep 2009 15:57:03 +0000 (17:57 +0200)]
Bump Standards-Version to 3.8.3

14 years agozshrc: fix description of alias md
Michael Prokop [Mon, 7 Sep 2009 15:55:42 +0000 (17:55 +0200)]
zshrc: fix description of alias md

14 years agozshrc: Remove removal of unexisting functions/aliases for grmlsmall.
Joerg Woelke [Sat, 5 Sep 2009 19:09:36 +0000 (21:09 +0200)]
zshrc: Remove removal of unexisting functions/aliases for grmlsmall.

vimpm, vimhelp (functions) and man2, man (aliases) don't seem
to exist anywhere anymore.

This also applies to /etc/skel/.zshrc.grmlsmall

14 years agozshrc: Fix suidfind() and remove findsuid().
Joerg Woelke [Sat, 5 Sep 2009 19:09:35 +0000 (21:09 +0200)]
zshrc: Fix suidfind() and remove findsuid().

Acked-by: Michael Prokop <mika@grml.org>
14 years agozshrc: Fix function fir() for Debian.
Joerg Woelke [Sat, 5 Sep 2009 19:09:34 +0000 (21:09 +0200)]
zshrc: Fix function fir() for Debian.

As firefox is called iceweasel under Debian, the '-a' option
won't find a "firefox" window. Additionally, if there is no
firefox instance, just start a new one.

14 years agozshrc: Turn some returning aliases to functions.
Joerg Woelke [Thu, 3 Sep 2009 15:50:40 +0000 (17:50 +0200)]
zshrc: Turn some returning aliases to functions.

cdrecord, 855resolution, debian2hd.

Acked-by: Frank Terbeck <ft@bewatermyfriend.org>
14 years agozshrc: Fix limg.
Joerg Woelke [Sat, 29 Aug 2009 15:24:49 +0000 (17:24 +0200)]
zshrc: Fix limg.

Remove listing of all files in directories given by argument.
Parameters are ignored now.

Acked-by: Frank Terbeck <ft@bewatermyfriend.org>
14 years agozshrc: Drop arch/tla related aliases.
Joerg Woelke [Fri, 28 Aug 2009 16:50:37 +0000 (18:50 +0200)]
zshrc: Drop arch/tla related aliases.

Acked-by: Michael Prokop <mika@grml.org>
14 years agozshrc: alias lsl should list all symlinks.
Joerg Woelke [Thu, 27 Aug 2009 17:55:14 +0000 (19:55 +0200)]
zshrc: alias lsl should list all symlinks.

Currently it only shows the ten first, which is rather arbitrary.

14 years agozshrc: Remove aliases ips and check_dpkg_running.
Joerg Woelke [Thu, 27 Aug 2009 07:45:39 +0000 (09:45 +0200)]
zshrc: Remove aliases ips and check_dpkg_running.

Added changelog entry. -ft

Acked-by: Michael Prokop <mika@grml.org>
14 years agozshrc: move a commented out example to skel/.zshrc
Frank Terbeck [Wed, 26 Aug 2009 21:01:05 +0000 (23:01 +0200)]
zshrc: move a commented out example to skel/.zshrc

14 years agozshrc: Minor mispelling in output of purge().
Joerg Woelke [Wed, 26 Aug 2009 11:06:30 +0000 (13:06 +0200)]
zshrc: Minor mispelling in output of purge().

If then <-> more than.

Added changelog entry. -ft

14 years agozshrc: remove sig()
Frank Terbeck [Tue, 25 Aug 2009 20:31:46 +0000 (22:31 +0200)]
zshrc: remove sig()

Brought to attention by Joerg.
This function serves no real purpose in an interactive shell session.

Reported-by: Joerg Woelke <joewoe@fsmail.de>
Acked-by: Michael Prokop <mika@grml.org>
Signed-off-by: Frank Terbeck <ft@bewatermyfriend.org>
14 years agozshrc: remove reload()
Frank Terbeck [Tue, 25 Aug 2009 20:05:59 +0000 (22:05 +0200)]
zshrc: remove reload()

'exec zsh' should be used for reloading the configuration, freload() for
reloading function definitions.

14 years agoMissed one in the last update
Frank Terbeck [Fri, 21 Aug 2009 16:36:00 +0000 (18:36 +0200)]
Missed one in the last update

14 years agoUpdate debian/changelog for Joerg's recent commits
Frank Terbeck [Fri, 21 Aug 2009 13:56:03 +0000 (15:56 +0200)]
Update debian/changelog for Joerg's recent commits

14 years agozshrc: Remove superfluous function shtgz.
Joerg Woelke [Fri, 21 Aug 2009 13:34:51 +0000 (15:34 +0200)]
zshrc: Remove superfluous function shtgz.

shtar() does the same and is more portable.
Also fixed description for zsh refcard.

Acked-by: Frank Terbeck <ft@bewatermyfriend.org>
14 years agozshrc: lsx should list all executables.
Joerg Woelke [Tue, 18 Aug 2009 16:27:46 +0000 (18:27 +0200)]
zshrc: lsx should list all executables.

Make lsx list all executable files instead of only the ten first
of an alphabetically sorted list of executables.

Acked-by: Frank Terbeck <ft@bewatermyfriend.org>
Acked-by: Michael Prokop <mika@grml.org>
14 years agozshrc: Remove the completion.d test
Frank Terbeck [Wed, 19 Aug 2009 10:37:32 +0000 (12:37 +0200)]
zshrc: Remove the completion.d test

/etc/zsh/completion.d is not even in our $fpath anymore.

14 years agozshrc: Remove the warn_skel test
Frank Terbeck [Wed, 19 Aug 2009 10:21:48 +0000 (12:21 +0200)]
zshrc: Remove the warn_skel test

The setup should be in this layout for long enough now.

14 years agoRemove broken ytdl() function from zshrc
Joerg Woelke [Sun, 16 Aug 2009 14:59:27 +0000 (16:59 +0200)]
Remove broken ytdl() function from zshrc

14 years agozshrc: mark specilized run-help functions for autoloading
Frank Terbeck [Wed, 12 Aug 2009 20:24:56 +0000 (22:24 +0200)]
zshrc: mark specilized run-help functions for autoloading

run-help-git
        -svk
        -svn

As requested by mika.

14 years agoscript-functions: replace type -p with which v0.3.74
Michael Prokop [Mon, 10 Aug 2009 12:18:37 +0000 (14:18 +0200)]
script-functions: replace type -p with which

14 years agodebian/changelog for vimrc merge
Frank Terbeck [Thu, 6 Aug 2009 21:43:35 +0000 (23:43 +0200)]
debian/changelog for vimrc merge

14 years agovimrc: Move inclusion of .local files to the end
Frank Terbeck [Thu, 6 Aug 2009 15:27:16 +0000 (17:27 +0200)]
vimrc: Move inclusion of .local files to the end

That's where is makes most sense.

14 years agovimrc: merge etc/vim/vimrc and etc/skel/.vimrc into one
Frank Terbeck [Thu, 6 Aug 2009 15:18:09 +0000 (17:18 +0200)]
vimrc: merge etc/vim/vimrc and etc/skel/.vimrc into one

This is done in order to have one file to hand over to end users. Be it
users in grml or non-grml systems.

The introductory 'set nocp' from the skel file is not needed anymore, so
it is silently dropped in this commit.

Removed a few trailing spaces, too.

14 years agozshrc: Use vcs_info data for GRMLPROMPT > 0, too
Frank Terbeck [Mon, 3 Aug 2009 14:24:56 +0000 (16:24 +0200)]
zshrc: Use vcs_info data for GRMLPROMPT > 0, too

14 years agoUpdate debian/overrides v0.3.73
Michael Prokop [Tue, 28 Jul 2009 15:55:07 +0000 (17:55 +0200)]
Update debian/overrides

14 years agoDrop all 'Latest Change' leftover references in several config files
Michael Prokop [Tue, 28 Jul 2009 15:54:16 +0000 (17:54 +0200)]
Drop all 'Latest Change' leftover references in several config files

14 years agoUse true binary without leading /bin/ in preinst script
Michael Prokop [Tue, 28 Jul 2009 15:53:05 +0000 (17:53 +0200)]
Use true binary without leading /bin/ in preinst script

14 years agoMinor Debian packaging updates
Michael Prokop [Tue, 28 Jul 2009 15:49:23 +0000 (17:49 +0200)]
Minor Debian packaging updates

14 years agoUpdate for releasing 0.3.73
Michael Prokop [Tue, 28 Jul 2009 15:46:06 +0000 (17:46 +0200)]
Update for releasing 0.3.73

14 years agozsh: Import new version of mercurial completion _hg
Frank Terbeck [Wed, 8 Jul 2009 15:32:45 +0000 (17:32 +0200)]
zsh: Import new version of mercurial completion _hg

We're shipping a completion for the mercurial VCS since quite some time.
This version was recently submitted to the zsh-workers mailing list with
a new licence so that it can be distributed along with zsh.

We can drop this completion once the zsh version that includes an _hg
completer is widely used (or at least included in grml).

14 years agozshrc: Include current directory in persistent dirstack
Frank Terbeck [Wed, 8 Jul 2009 15:14:56 +0000 (17:14 +0200)]
zshrc: Include current directory in persistent dirstack

When we used 'dirs -p' for that feature, $PWD was included already.
It's not present in ${dirstack}, though. Now we just prepend $PWD to
$dirstack when writing it to .zdirs.

14 years agozsh: move completion.d and functions.d to usr/share
Frank Terbeck [Mon, 22 Jun 2009 19:23:19 +0000 (21:23 +0200)]
zsh: move completion.d and functions.d to usr/share

Having an additional set of files in /etc sucks because there is no
reliable way to deal with removing files and user customizations in any
sane way.

Keeping completions and additional function files in usr/share makes a
lot more sense. This also gives us the opportunity to finally get rid of
one of the annoying warning-tests at the start of our zshrc.

14 years agozshrc: Using "emulate -L"s in functions where needed
Frank Terbeck [Sun, 7 Jun 2009 19:30:26 +0000 (21:30 +0200)]
zshrc: Using "emulate -L"s in functions where needed

This will allow people to get functions from our setup into theirs, even
if they are using very very uncommon option settings.

Also changing coding style from ${x} to $x in the touched functions.
Writing parameters as ${parameter} is clearer in most cases, but for
single-character variables it is actually harder to read and a lot
clumsier to type. I should probably add the to the policy...

This also contains a few misc changes/fixes that caught my eye while
browsing the file.

14 years agozshrc: Set options a lot earlier and include no_sh_wordsplit
Frank Terbeck [Sun, 7 Jun 2009 19:11:40 +0000 (21:11 +0200)]
zshrc: Set options a lot earlier and include no_sh_wordsplit

We do need the version-checking functions and we also want .zshrc.pre to
be sourced.

We are also setting no_sh_wordsplit now. Doing that gives us a
reasonable set of options for our zshrc to be sourced.

14 years agozshrc: Move setting variables to the variables section
Frank Terbeck [Sun, 7 Jun 2009 19:02:30 +0000 (21:02 +0200)]
zshrc: Move setting variables to the variables section

14 years agozshrc: Move slash-backward-kill-word to a proper location
Frank Terbeck [Sun, 7 Jun 2009 19:00:50 +0000 (21:00 +0200)]
zshrc: Move slash-backward-kill-word to a proper location

14 years agoUpdating debian/changelog
Frank Terbeck [Wed, 8 Jul 2009 11:18:50 +0000 (13:18 +0200)]
Updating debian/changelog

14 years agozshrc: Insert a condition for loading /etc/default/locale
Frank Terbeck [Wed, 8 Jul 2009 10:59:31 +0000 (12:59 +0200)]
zshrc: Insert a condition for loading /etc/default/locale

In 76706fcdd9c160d7f3212e597d2139f45531da72 we started loading
/etc/default/locale unconditionally in order to pick up sane defaults
for a given system.

While this is a good idea in most cases, because users may still
customize the locale for their interactive sessions in ~/.zshrc.local,
this does cause problems when you need most of your shells in the
default locale and a few in another from time to time.

That is the case for 'iso-term' a script that changes utf8 parts of the
default environment to iso885915 and then calls an x11 terminal
emulator.

This change enables us to conditionally turn off sourcing the default
locale file by inserting ZSH_NO_DEFAULT_LOCALE=1 into the environment of
the calling process.

14 years agozshrc: Get rid off whence
Frank Terbeck [Sun, 7 Jun 2009 11:11:45 +0000 (13:11 +0200)]
zshrc: Get rid off whence

14 years agozshrc: Give check_com a -g option to test for global aliases, too.
Frank Terbeck [Sun, 7 Jun 2009 10:56:37 +0000 (12:56 +0200)]
zshrc: Give check_com a -g option to test for global aliases, too.

14 years agozshrc: add deborphan, pal and hnb to compdef _gnu_generic
Michael Prokop [Fri, 5 Jun 2009 07:37:04 +0000 (09:37 +0200)]
zshrc: add deborphan, pal and hnb to compdef _gnu_generic

14 years agozshrc: Removing mostlike references competely
Frank Terbeck [Tue, 2 Jun 2009 14:36:20 +0000 (16:36 +0200)]
zshrc: Removing mostlike references competely

Setting LESS_TERMCAP_* in zshrc now. And since virtually nobody has mostlike
installed on their systems, we are now removing all references to it.

14 years agozshrc: Do not discard the output of compinit
Frank Terbeck [Sun, 31 May 2009 15:58:10 +0000 (17:58 +0200)]
zshrc: Do not discard the output of compinit

When it calls compaudit, that can cause legitimate output, which
is important because it requires user interaction. Not printing such
output can make it seem like zsh is hanging forever.

14 years agozshrc: Add a note about contributing and grml-etc-core@grml.org v0.3.72
Frank Terbeck [Sat, 30 May 2009 17:33:09 +0000 (19:33 +0200)]
zshrc: Add a note about contributing and grml-etc-core@grml.org

14 years agozshrc: Improve dir based profiles documentation
Frank Terbeck [Sat, 30 May 2009 17:25:39 +0000 (19:25 +0200)]
zshrc: Improve dir based profiles documentation

Clarify how the context of the styles for directory based profiles are
used used and mention a "best practice".

14 years agoUpdate changelog for release v0.3.71
Michael Prokop [Sat, 30 May 2009 14:29:31 +0000 (16:29 +0200)]
Update changelog for release

14 years agozshrc: Make directory profiles version safe
Frank Terbeck [Fri, 29 May 2009 23:25:07 +0000 (01:25 +0200)]
zshrc: Make directory profiles version safe

_functions[] arrays require version 4.3.3 of zsh. Check for that, document
it and provide solutions to cope with it.

14 years agoForgot debian/changelog update. Again...
Frank Terbeck [Fri, 29 May 2009 21:10:18 +0000 (23:10 +0200)]
Forgot debian/changelog update. Again...

14 years agozshrc: Add directory based profiles
Frank Terbeck [Fri, 29 May 2009 21:05:44 +0000 (23:05 +0200)]
zshrc: Add directory based profiles

Documentation included, see '/directory based profiles' in zshrc.

14 years agozshrc: do not fall back to LANG en_US.iso885915 if it is unset v0.3.70
Michael Prokop [Mon, 18 May 2009 20:32:37 +0000 (22:32 +0200)]
zshrc: do not fall back to LANG en_US.iso885915 if it is unset

14 years agoUpdate changelog for release v0.3.69
Michael Prokop [Mon, 18 May 2009 07:33:20 +0000 (09:33 +0200)]
Update changelog for release

14 years agozshrc: source the global zshrc.local via zrclocal()
Frank Terbeck [Sun, 17 May 2009 10:14:39 +0000 (12:14 +0200)]
zshrc: source the global zshrc.local via zrclocal()

This make sure it is always sourced when appropriate - along with other
.local files and *before* the ~/.zshrc.local file.

14 years agoUpdate changelog for new version upload v0.3.68
Michael Prokop [Fri, 15 May 2009 15:52:41 +0000 (17:52 +0200)]
Update changelog for new version upload

14 years agoUpdate changelog
Michael Prokop [Tue, 12 May 2009 13:29:47 +0000 (15:29 +0200)]
Update changelog

14 years agofix to enable title inside urxvt-unicode
Moritz Augsburger [Tue, 12 May 2009 13:24:34 +0000 (15:24 +0200)]
fix to enable title inside urxvt-unicode

15 years agozshrc: remove conkeror alias
Frank Terbeck [Fri, 24 Apr 2009 23:16:51 +0000 (01:16 +0200)]
zshrc: remove conkeror alias

15 years agodebian/ policy updates v0.3.67
Michael Prokop [Tue, 21 Apr 2009 09:01:50 +0000 (11:01 +0200)]
debian/ policy updates

15 years agoUpdate changelog
Michael Prokop [Tue, 21 Apr 2009 08:27:27 +0000 (10:27 +0200)]
Update changelog

15 years agonot every user is allowed to read logfiles...
Moritz Augsburger [Wed, 15 Apr 2009 10:45:18 +0000 (12:45 +0200)]
not every user is allowed to read logfiles...

Better way would be: create a command to test -r $file for all files in
ARGV, prepend sudo only if not readable

Signed-off-by: Moritz Augsburger <moemoe@grml.org>
15 years agozshrc: handle newer versions of mercurial
Frank Terbeck [Mon, 6 Apr 2009 11:05:48 +0000 (13:05 +0200)]
zshrc: handle newer versions of mercurial

It seems like the mercurial vcs (hg) does not create a .hg/branch file anymore,
if there is only the 'default' branch. That broke hg-detection in vcs_info.

This detects hg repositories by the .hg/store directory and defaults to 'default'
if there is no .hg/branch file.

15 years agozshrc: add a handler that uses debian's command-not-found package v0.3.66
Frank Terbeck [Fri, 3 Apr 2009 19:23:52 +0000 (21:23 +0200)]
zshrc: add a handler that uses debian's command-not-found package

That package allows the user to get information with what package
a certain command can be installed. AFAIK that package is only
available on Debian based systems. Therefore disabled by default.

15 years agozshrc: do not overrule native completions to _gnu_generic
Frank Terbeck [Sat, 4 Apr 2009 09:45:47 +0000 (11:45 +0200)]
zshrc: do not overrule native completions to _gnu_generic

Only compdef commands to _gnu_generic if no native completion exists.
This should fix problems with _gnu_generic and output from cp of
coreutils version 7.1.

15 years agoadd commit-to-history widget
Frank Terbeck [Fri, 3 Apr 2009 20:55:29 +0000 (22:55 +0200)]
add commit-to-history widget

Using the 'commit-to-history' widget a user can add command lines
to the shell's history without executing it. Bound to: <ctrl-x><ctrl-h>

15 years agoUpdated debian/changelog
Frank Terbeck [Thu, 2 Apr 2009 11:13:02 +0000 (13:13 +0200)]
Updated debian/changelog

15 years agozshrc: add wrapper for vim
Frank Terbeck [Thu, 2 Apr 2009 11:09:02 +0000 (13:09 +0200)]
zshrc: add wrapper for vim

This wrapper sets VIM_PLEASE_SET_TITLE, so the vimrc knows to set screens
hardstatus.

The wrapper also supports an array ($VIM_OPTIONS), that can be used to set
options for every vim invocation.

To use the installed vim binary without the wrapper function, use either of these:
  % command vim
  % =vim

The latter needs the EQUALS option set in zsh (which is the default).

15 years agovimrc: only set title if the caller requests it or in gvim
Frank Terbeck [Thu, 2 Apr 2009 10:59:55 +0000 (12:59 +0200)]
vimrc: only set title if the caller requests it or in gvim

This should rule out problems with vim breaking screen titles when called
from programs like w3m or mutt.

15 years agovimrc: enable features only if available; update changelog for upload v0.3.65
Michael Prokop [Tue, 31 Mar 2009 21:53:31 +0000 (23:53 +0200)]
vimrc: enable features only if available; update changelog for upload

15 years agozshrc: always read '/etc/default/locale'
Frank Terbeck [Tue, 31 Mar 2009 11:23:59 +0000 (13:23 +0200)]
zshrc: always read '/etc/default/locale'

15 years agozshrc: Fix pattern to extract battery status from acpi
Frank Terbeck [Mon, 30 Mar 2009 22:19:20 +0000 (00:19 +0200)]
zshrc: Fix pattern to extract battery status from acpi

15 years agoUpdated debian/changelog
Frank Terbeck [Sun, 22 Mar 2009 13:25:50 +0000 (14:25 +0100)]
Updated debian/changelog

15 years agozshrc: Use single quotes througout values in power abbreviations
Alexander Steinböck [Tue, 10 Mar 2009 13:53:11 +0000 (14:53 +0100)]
zshrc: Use single quotes througout values in power abbreviations

15 years agozshrc: Text formatting in section power abbreviations
Alexander Steinböck [Tue, 10 Mar 2009 13:47:41 +0000 (14:47 +0100)]
zshrc: Text formatting in section power abbreviations

Just aligning the three columns key, value and additional doc string for
better readability.

15 years agozshrc: Add a trailing space to the power abbreviation regarding grep(1)
Alexander Steinböck [Tue, 10 Mar 2009 13:30:37 +0000 (14:30 +0100)]
zshrc: Add a trailing space to the power abbreviation regarding grep(1)

This way, the user doesn't need to type an extra space when giving following
arguments and search pattern.

15 years agozshrc: source ~/.zshrc.local for root, too
Frank Terbeck [Sun, 8 Mar 2009 17:31:53 +0000 (18:31 +0100)]
zshrc: source ~/.zshrc.local for root, too

This also fixes a missing Closes: in debian/changelog.

15 years agozshrc: use 'setopt noglobdots'
Michael Prokop [Fri, 6 Mar 2009 23:56:20 +0000 (00:56 +0100)]
zshrc: use 'setopt noglobdots'

15 years agovimrc: add check for $NOPRECMD
Michael Prokop [Sat, 28 Feb 2009 15:59:23 +0000 (16:59 +0100)]
vimrc: add check for $NOPRECMD

15 years agoUpdated debian/changelog
Frank Terbeck [Fri, 27 Feb 2009 21:07:42 +0000 (22:07 +0100)]
Updated debian/changelog

15 years agozshrc: Delete unnecessary or questionable power abbreviation respectively.
Alexander Steinböck [Thu, 26 Feb 2009 16:48:11 +0000 (17:48 +0100)]
zshrc: Delete unnecessary or questionable power abbreviation respectively.

A lot of already defined aliases were incorporated as power abbreviations too.
These were rather outdated or didn't make much sense. As a consequence just
the power abbreviations which have replaced global aliases are being kept.

15 years agoUnfuck the last commit
Frank Terbeck [Wed, 25 Feb 2009 00:40:14 +0000 (01:40 +0100)]
Unfuck the last commit

15 years agoAdd support $NOTITLE variable
Frank Terbeck [Tue, 24 Feb 2009 19:42:57 +0000 (20:42 +0100)]
Add support $NOTITLE variable

'NOTITLE=1 zsh' allows the user to disable the alteration of terminal
titles without completely disabling the precmd() and preexec() functions
(in contrast to the already existing $NOPRECMD variable, which achieves
a similar result by doing exactly that).

15 years agoUpdated debian/changelog v0.3.64
Frank Terbeck [Sun, 22 Feb 2009 23:55:38 +0000 (00:55 +0100)]
Updated debian/changelog

15 years agoFix yet another bug in the shipped version of vcs_info()
Frank Terbeck [Sun, 22 Feb 2009 23:51:38 +0000 (00:51 +0100)]
Fix yet another bug in the shipped version of vcs_info()

Triggered by the added format for screen title setting. *sigh*

15 years agoFix a bug in the shipped version of vcs_info()
Frank Terbeck [Sun, 22 Feb 2009 23:24:03 +0000 (00:24 +0100)]
Fix a bug in the shipped version of vcs_info()

Triggered by the added format for screen title setting.

15 years agoTell repo names in screen title
Frank Terbeck [Sun, 22 Feb 2009 23:13:28 +0000 (00:13 +0100)]
Tell repo names in screen title

If we are in a VCS controlled directory you now get
  "zsh: repo-name"
instead of the usual
  "zsh"
in GNU screen's window title.

15 years agoClean up pre{exec,cmd}
Frank Terbeck [Sun, 22 Feb 2009 23:07:17 +0000 (00:07 +0100)]
Clean up pre{exec,cmd}

15 years agoForgot to add Closes: in the zurl() rewrite entry in changelog
Frank Terbeck [Sat, 21 Feb 2009 13:03:06 +0000 (14:03 +0100)]
Forgot to add Closes: in the zurl() rewrite entry in changelog

15 years agozshrc::zurl(): Testing existence of given URL by pinging it first.
Alexander Steinböck [Wed, 18 Feb 2009 15:21:11 +0000 (16:21 +0100)]
zshrc::zurl(): Testing existence of given URL by pinging it first.

15 years agoUpdating debian/changelog
Frank Terbeck [Thu, 19 Feb 2009 16:48:19 +0000 (17:48 +0100)]
Updating debian/changelog

15 years agogrml-etc-core: Rewrite of function zurl().
Alexander Steinböck [Wed, 18 Feb 2009 19:18:12 +0000 (19:18 +0000)]
grml-etc-core: Rewrite of function zurl().

Because of changes in the HTML source code of TinyURL, zurl() wasn't working
properly anymore. For instance, it's now 'copy(http://tinyurl.com/7efkze)'
instead of 'value="(http://tinyurl.com/7efkze)'.

The function however is now just using zsh in-house means and tries to provide
some decent output. Including TinyURL's new preview feature.
<http://tinyurl.com/preview.php>

15 years agoFix typo in debian/changelog
Frank Terbeck [Thu, 19 Feb 2009 16:43:08 +0000 (17:43 +0100)]
Fix typo in debian/changelog