grml-etc-core.git
15 years agoUpdate debian/changelog for Franks work v0.3.63
Michael Prokop [Thu, 19 Feb 2009 16:14:09 +0000 (17:14 +0100)]
Update debian/changelog for Franks work

15 years agoUse rxvt* to support setting title for rxvt-unicode
Michael Prokop [Thu, 19 Feb 2009 16:12:01 +0000 (17:12 +0100)]
Use rxvt* to support setting title for rxvt-unicode

15 years agozshrc: Make /etc/zsh/functions.d recursive
Frank Terbeck [Tue, 17 Feb 2009 11:51:05 +0000 (12:51 +0100)]
zshrc: Make /etc/zsh/functions.d recursive

That way, we can drop whole subsystems into there, if we want to, like:

    /etc/zsh/functions.d/VCS_Info/...

This change also makes the code more backwards compatible.
zrcautoload does not need the -U switch. It does that automatically
depending on which zsh version is running.

15 years agoDisable the skel check if running off a cd v0.3.62
Frank Terbeck [Fri, 13 Feb 2009 16:47:26 +0000 (17:47 +0100)]
Disable the skel check if running off a cd

15 years agos/please notice/please note/ - thanks ft
Michael Prokop [Fri, 13 Feb 2009 13:07:36 +0000 (14:07 +0100)]
s/please notice/please note/ - thanks ft

15 years agoImprove NEWS and upgrade text
Michael Prokop [Fri, 13 Feb 2009 12:59:16 +0000 (13:59 +0100)]
Improve NEWS and upgrade text

15 years agoFurther improve upgrade path via /etc/skel/.zshrc
Michael Prokop [Fri, 13 Feb 2009 12:43:12 +0000 (13:43 +0100)]
Further improve upgrade path via /etc/skel/.zshrc

15 years agozshrc: provide upgrade path via /etc/skel/.zshrc
Michael Prokop [Fri, 13 Feb 2009 12:24:59 +0000 (13:24 +0100)]
zshrc: provide upgrade path via /etc/skel/.zshrc

15 years agoAdd/Update header of /etc/skel/.zshrc and /etc/zsh/zshrc, add debian/NEWS entry
Michael Prokop [Fri, 13 Feb 2009 11:47:27 +0000 (12:47 +0100)]
Add/Update header of /etc/skel/.zshrc and /etc/zsh/zshrc, add debian/NEWS entry

15 years agodebian/changelog: Updates for various commits from the temporary ft branch
Frank Terbeck [Sun, 8 Feb 2009 12:33:51 +0000 (13:33 +0100)]
debian/changelog: Updates for various commits from the temporary ft branch

15 years agozshrc: Move more commented-out code to skel/.zshrc
Frank Terbeck [Mon, 9 Feb 2009 12:59:02 +0000 (13:59 +0100)]
zshrc: Move more commented-out code to skel/.zshrc

This time: $cdpath and $MANWIDTH

All commented-out examples should go into the skel file, because users
should make their specific changes in ~/.zshrc.pre and ~/.zshrc.local.
Having examples in the global rc file would encourage to make changes
there. Besides, commented-out examples make the setup harder to read and
to maintain.

15 years agoadding -f (force) switch to xtrename
esc [Sun, 8 Feb 2009 03:13:46 +0000 (04:13 +0100)]
adding -f (force) switch to xtrename

xtrename checks if $DISPLAY is set before printing the escape sequence that
changes the xterm title. However, in certain circumstances this may not be an
optimal check. For example: if the shell is running on a remote server which is
headless, but an xterm is being used locally. In this case you can now use
the -f switch to force the escape sequence to be issued regardless of the state
of $DISPLAY.

15 years agozshrc: provide .. as a completion
Frank Terbeck [Fri, 6 Feb 2009 16:28:15 +0000 (17:28 +0100)]
zshrc: provide .. as a completion

There was a bug in some 4.3.x versions of zsh, that enabled the
completion of .. by default. That was a bug!

This change does *not* provide '.' as a possible completion. But that
is easily possible and an according snippet is included among the
examples in etc/skel/.zshrc (commented out, as usual).

15 years agoUse check_com for screen alias check/execution.
Jan-Hendrik Zab [Sun, 1 Feb 2009 19:11:48 +0000 (20:11 +0100)]
Use check_com for screen alias check/execution.

15 years agozshrc: Fix status() when $BAUD is unset
Alexander Steinböck [Fri, 30 Jan 2009 20:04:14 +0000 (21:04 +0100)]
zshrc: Fix status() when $BAUD is unset

There are implementations of getty that don't export $BAUD. In these
cases there is an empty value in the output of the status() function.

This fixes it by only printing the baud-information field in case
$BAUD is set to a non-empty value.

15 years agozshrc: try to be smarter about the skel warning
Frank Terbeck [Sun, 11 Jan 2009 19:35:45 +0000 (20:35 +0100)]
zshrc: try to be smarter about the skel warning

In recent zsh versions, we can check the file name of the current code is.
That way, we can add additional information about the warning.
And automatically remove it if that seems reasonable.

15 years agozshrc: move version check functions further to the front
Frank Terbeck [Sun, 11 Jan 2009 19:32:25 +0000 (20:32 +0100)]
zshrc: move version check functions further to the front

and restructure some of the code, which will be used differently in an upcoming commit.

15 years agoskel/.zshrc: adjust format to match the other examples
Frank Terbeck [Fri, 9 Jan 2009 22:21:12 +0000 (23:21 +0100)]
skel/.zshrc: adjust format to match the other examples

15 years agozshrc: move all the commented-out code to the skel file
Frank Terbeck [Fri, 9 Jan 2009 16:02:59 +0000 (17:02 +0100)]
zshrc: move all the commented-out code to the skel file

People should not be tempted to change our main config file. We
provide plenty opportunities to tweak the config by .zshrc.pre and
.zshrc.local; users really should use those files.

15 years agoRemove the use of ${rrn}, which is too new for vcs_info in grml
Frank Terbeck [Wed, 31 Dec 2008 15:30:18 +0000 (16:30 +0100)]
Remove the use of ${rrn}, which is too new for vcs_info in grml

15 years agoapply "PATCH: vcs_info, implement disable-patterns style (2nd try)" from ft
Christian Hofstaedtler [Wed, 31 Dec 2008 15:22:52 +0000 (16:22 +0100)]
apply "PATCH: vcs_info, implement disable-patterns style (2nd try)" from ft

15 years agoRemove .hgtags
Frank Terbeck [Wed, 31 Dec 2008 13:30:10 +0000 (14:30 +0100)]
Remove .hgtags

...which is useless in a git repo.

15 years agozshrc: Add a warning about the new zshrc setup files
Frank Terbeck [Wed, 31 Dec 2008 11:12:59 +0000 (12:12 +0100)]
zshrc: Add a warning about the new zshrc setup files

Since a lot of people will have the .zshrc file from /etc/skel in
their home directory, this should be the-right-thing-to-do[tm].

This adds /etc/skel/zshrc.pre to stop this warning, because it is
useless on grml systems where an up-to-date set of skel files is
used.

15 years agozshrc: add support for OS X, including fink and macports
Christian Hofstaedtler [Tue, 30 Dec 2008 22:57:49 +0000 (23:57 +0100)]
zshrc: add support for OS X, including fink and macports

15 years agozshrc: Unification cleanup - Episode V
Frank Terbeck [Sun, 21 Dec 2008 14:04:49 +0000 (15:04 +0100)]
zshrc: Unification cleanup - Episode V

Move genzshrefcard.pl setup variables to the end of the file.

15 years agozshrc: Unification cleanup - Episode IV
Frank Terbeck [Sun, 21 Dec 2008 14:02:43 +0000 (15:02 +0100)]
zshrc: Unification cleanup - Episode IV

Do not source .zshenv it should have been sourced by zsh anyway...

15 years agozshrc: Unification cleanup - Episode III
Frank Terbeck [Sun, 21 Dec 2008 13:51:23 +0000 (14:51 +0100)]
zshrc: Unification cleanup - Episode III

Remove zshskel alias.
It's useless to source empty files. :-)

15 years agozshrc: Unification cleanup - Episode II
Frank Terbeck [Sun, 21 Dec 2008 13:49:25 +0000 (14:49 +0100)]
zshrc: Unification cleanup - Episode II

Update zsh-help() to reflect the new layout.

15 years agozshrc: Unification cleanup - Episode I
Frank Terbeck [Sun, 21 Dec 2008 13:15:11 +0000 (14:15 +0100)]
zshrc: Unification cleanup - Episode I

zsh-gen-refcard comment

15 years agozshrc: adding zg()
Frank Terbeck [Tue, 16 Dec 2008 12:44:58 +0000 (13:44 +0100)]
zshrc: adding zg()

This is a function that let's you grep for patterns in grml's zshrc
depending on if you want to search for code for non-root or root users.

15 years agoLoading .zshrc.pre if it exists
Frank Terbeck [Tue, 16 Dec 2008 11:01:50 +0000 (12:01 +0100)]
Loading .zshrc.pre if it exists

15 years agoRemove skel files...
Frank Terbeck [Tue, 16 Dec 2008 10:57:01 +0000 (11:57 +0100)]
Remove skel files...

Well, not entirely. Removing .zshrc.grmlsmall.
Leaving .zshrc with only a message in it to leave it untouched and
use ${HOME}/.zshrc.local for private adjustments.

15 years agozshrc: Remove some unneeded code
Frank Terbeck [Tue, 16 Dec 2008 10:49:50 +0000 (11:49 +0100)]
zshrc: Remove some unneeded code

15 years agoMerging all zshrc files into one
Frank Terbeck [Tue, 16 Dec 2008 10:44:06 +0000 (11:44 +0100)]
Merging all zshrc files into one

That is skel/.zshrc{,.grmlsmall} + etc/zsh/zshrc => etc/zsh/zshrc.

15 years agoRe-enable exit keybinding in /etc/grml/screenrc
Michael Prokop [Tue, 27 Jan 2009 20:58:25 +0000 (21:58 +0100)]
Re-enable exit keybinding in /etc/grml/screenrc

15 years agoEnable syntax only if available and do not enable digraph by default in /etc/skel...
Michael Prokop [Wed, 21 Jan 2009 13:53:57 +0000 (14:53 +0100)]
Enable syntax only if available and do not enable digraph by default in /etc/skel/.vimrc

15 years agozshrc: Fixing a bug in urlencode() v0.3.61
Frank Terbeck [Fri, 5 Dec 2008 17:51:16 +0000 (18:51 +0100)]
zshrc: Fixing a bug in urlencode()

Apparently, the hex value of an encoded character must be at least 2
digits wide.

Found, explained and fix provided by Baptiste Daroussin. Thanks!

15 years agozshrc: add alias http for running "python -m SimpleHTTPServer" v0.3.60
Michael Prokop [Wed, 19 Nov 2008 11:53:41 +0000 (12:53 +0100)]
zshrc: add alias http for running "python -m SimpleHTTPServer"

15 years agozshrc: update function swspeak for new script swspeak-setup v0.3.59
Michael Prokop [Sun, 2 Nov 2008 22:52:30 +0000 (23:52 +0100)]
zshrc: update function swspeak for new script swspeak-setup

15 years agogitconfig: update alias 'out', fix usage of pager config, add new alias 'tagme'
Michael Prokop [Sun, 2 Nov 2008 22:52:06 +0000 (23:52 +0100)]
gitconfig: update alias 'out', fix usage of pager config, add new alias 'tagme'

15 years agozshrc: set default values for NOPRECMD and friends
Frank Terbeck [Mon, 6 Oct 2008 16:30:38 +0000 (18:30 +0200)]
zshrc: set default values for NOPRECMD and friends

I am not exactly sure why this did not complain loudly...

15 years agoUpdate changelog v0.3.58
Michael Prokop [Wed, 1 Oct 2008 20:13:16 +0000 (22:13 +0200)]
Update changelog

15 years agoReplace hg with git URLs
Michael Prokop [Wed, 1 Oct 2008 19:57:30 +0000 (21:57 +0200)]
Replace hg with git URLs

15 years agoIntegrate feedback from Gebi, please review again :)
Michael Prokop [Tue, 30 Sep 2008 08:19:12 +0000 (10:19 +0200)]
Integrate feedback from Gebi, please review again :)

15 years agoAdd fpu alias to gitconfig ("format-patch-upstream")
Michael Prokop [Mon, 29 Sep 2008 22:45:12 +0000 (00:45 +0200)]
Add fpu alias to gitconfig ("format-patch-upstream")

Thanks for feedback, ft.

15 years agoExtend user section information (we need some further environment variables)
Michael Prokop [Mon, 29 Sep 2008 21:51:36 +0000 (23:51 +0200)]
Extend user section information (we need some further environment variables)

15 years agoDo not enable user section by default
Michael Prokop [Mon, 29 Sep 2008 21:47:30 +0000 (23:47 +0200)]
Do not enable user section by default

15 years agoInitial version of ~/.gitconfig - please review
Grml User [Mon, 29 Sep 2008 21:09:18 +0000 (23:09 +0200)]
Initial version of ~/.gitconfig - please review

Integrated stuff from Frank:
http://www.bewatermyfriend.org/media/dot_gitconfig

15 years agozshrc: update zsh-help() output
Frank Terbeck [Mon, 29 Sep 2008 15:23:06 +0000 (17:23 +0200)]
zshrc: update zsh-help() output

15 years agozshrc: improvements by Kai Wilke. Thanks!
Frank Terbeck [Mon, 29 Sep 2008 15:18:36 +0000 (17:18 +0200)]
zshrc: improvements by Kai Wilke. Thanks!

See <http://bts.grml.org/grml/issue528>.

  - transform [[ -z $PARAM ]] etc. tests to:
    [[ $PARAM -gt 0 ]] and [[ $PARAM -eq 0 ]]
  - fix a problem when /etc/zsh/functions.d
  - do not load zsh/zprof as it might be loaded already
  - *update* the battery status in $RPS1 each time its redrawn.
    only happens if the feature is enabled when sourcing zshrc.

15 years agozshrc: ...updated the code, but not its users... fix.
Frank Terbeck [Tue, 16 Sep 2008 00:58:04 +0000 (02:58 +0200)]
zshrc: ...updated the code, but not its users... fix.

15 years agozshrc: partial rewrite of vcs_info()
Frank Terbeck [Tue, 16 Sep 2008 00:53:00 +0000 (02:53 +0200)]
zshrc: partial rewrite of vcs_info()

Well, I hope the code is finally settling...
This adds tla and codeville (cdv) backends.
This is also a rewrite of the remaining parts that used external programs.

15 years agoAdded tag 0.3.57 for changeset d73e0a95943d
Michael Prokop [Thu, 11 Sep 2008 10:13:40 +0000 (12:13 +0200)]
Added tag 0.3.57 for changeset d73e0a95943d

15 years agoUpdate changelog for uploading 0.3.57
Michael Prokop [Thu, 11 Sep 2008 10:13:10 +0000 (12:13 +0200)]
Update changelog for uploading

15 years agozshrc: Fixing $PS2
Frank Terbeck [Thu, 11 Sep 2008 10:06:05 +0000 (12:06 +0200)]
zshrc: Fixing $PS2

We use prompt_subst for vcs_info() to work. PS2 contained a backtick, which
starts off command substitution. There was no closing backtick (because the
backtick is meant to be there for cosmetic reasons only), so that threw
a parsing error now. Thanks to Matthias Merk noticing.

This also removes some dead comments.

15 years agoAdded tag 0.3.56 for changeset 9fbbb733b10e
Michael Prokop [Mon, 8 Sep 2008 13:28:36 +0000 (15:28 +0200)]
Added tag 0.3.56 for changeset 9fbbb733b10e

15 years agoUpdate changelog for upload 0.3.56
Michael Prokop [Mon, 8 Sep 2008 13:28:22 +0000 (15:28 +0200)]
Update changelog for upload

15 years agozshrc: oops, renamed styles; use the new ones
Frank Terbeck [Sat, 6 Sep 2008 00:00:10 +0000 (02:00 +0200)]
zshrc: oops, renamed styles; use the new ones

15 years agozshrc: changing invocation of vcs_info()
Frank Terbeck [Fri, 5 Sep 2008 23:58:12 +0000 (01:58 +0200)]
zshrc: changing invocation of vcs_info()

Calling vcs_info() from PS1 is a stupid idea, because it will be called
*every* *single* *time* the prompt is redrawn.

That's among other things, every time you hit tab. Annoying.

This calls vcs_info() from precmd(). That's a *lot* less than before.

15 years agozshrc: 'limit stack' needs zsh 4.2.5 or newer (not just 4.*)
Frank Terbeck [Tue, 2 Sep 2008 22:43:37 +0000 (00:43 +0200)]
zshrc: 'limit stack' needs zsh 4.2.5 or newer (not just 4.*)

15 years agoAdded tag 0.3.55 for changeset bce6d8669eec
Michael Prokop [Mon, 1 Sep 2008 09:55:54 +0000 (11:55 +0200)]
Added tag 0.3.55 for changeset bce6d8669eec

15 years agoUpdate changelog for uploader 0.3.55
Michael Prokop [Mon, 1 Sep 2008 09:55:33 +0000 (11:55 +0200)]
Update changelog for uploader

15 years agozshrc: Fixing ${YELLOW]}, which is bad zsh syntax.
Frank Terbeck [Mon, 1 Sep 2008 09:50:32 +0000 (11:50 +0200)]
zshrc: Fixing ${YELLOW]}, which is bad zsh syntax.

Remember, 'hg pull' != 'git pull' when testing changes... *sigh*

15 years agoAdded tag 0.3.54 for changeset 5eb50d5e5a9d
Michael Prokop [Mon, 1 Sep 2008 09:34:09 +0000 (11:34 +0200)]
Added tag 0.3.54 for changeset 5eb50d5e5a9d

15 years agoDrop maintainer-script-lacks-debhelper-token of lintian file 0.3.54
Michael Prokop [Mon, 1 Sep 2008 09:32:51 +0000 (11:32 +0200)]
Drop maintainer-script-lacks-debhelper-token of lintian file

15 years agoUpdate debian/overrides
Michael Prokop [Mon, 1 Sep 2008 09:32:11 +0000 (11:32 +0200)]
Update debian/overrides

15 years agoUpdate lintian file
Michael Prokop [Mon, 1 Sep 2008 09:30:17 +0000 (11:30 +0200)]
Update lintian file

15 years agoDebian updates to make lintian happy
Michael Prokop [Mon, 1 Sep 2008 09:27:59 +0000 (11:27 +0200)]
Debian updates to make lintian happy

15 years agozshrc: Fixes for svk in vcs_info()
Frank Terbeck [Sun, 31 Aug 2008 19:40:01 +0000 (21:40 +0200)]
zshrc: Fixes for svk in vcs_info()

15 years agozshrc: Fix in svn backend of vcs_info(), doc updates
Frank Terbeck [Sun, 31 Aug 2008 14:08:15 +0000 (16:08 +0200)]
zshrc: Fix in svn backend of vcs_info(), doc updates

...and a new style to configure the %b replacement in formats for svn and bzr.

15 years agozshrc: Add experimental bzr backend to vcs_info()
Frank Terbeck [Sun, 31 Aug 2008 11:08:32 +0000 (13:08 +0200)]
zshrc: Add experimental bzr backend to vcs_info()

I works without calling 'bzr' itself, but remains disabled by default,
because I have *no* idea if it does the right thing for all bzr repositories.

If a bzr user complains about the slowness of the default bzr backend, we can
now point him/her to:
    % zstyle ':vcs_info:bzr' use-simple true

And get feedback, if that works in all cases.

15 years agozshrc: Adding support for cvs repositories to vcs_info()
Frank Terbeck [Fri, 29 Aug 2008 23:12:56 +0000 (01:12 +0200)]
zshrc: Adding support for cvs repositories to vcs_info()

15 years agoAdded tag 0.3.53 for changeset 78e4ec3d7421
Michael Prokop [Fri, 29 Aug 2008 22:52:52 +0000 (00:52 +0200)]
Added tag 0.3.53 for changeset 78e4ec3d7421

15 years agoAdjust changelog for uploading 0.3.53
Michael Prokop [Fri, 29 Aug 2008 22:52:33 +0000 (00:52 +0200)]
Adjust changelog for uploading

15 years agozshrc: Improve robustness of the bzr backend in vcs_info()
Frank Terbeck [Fri, 29 Aug 2008 22:04:27 +0000 (00:04 +0200)]
zshrc: Improve robustness of the bzr backend in vcs_info()

I just played a little with bzr; calling 'bzr' itself in the prompt is
painfully slow. And we do it *twice* for the base directory and the
branchname/revision-number.

I don't know enough about bzr, to change this.
Personally, I would replace the branch-root, by the base directory, that
VCS_INFO_detect_by_dir().

The branch name *could* be replaced by ${bzrbase:t}, but since it is
retrieved from the same command as the revision-number, so that will not
save us a call to 'bzr'...

Hints on this one are highly appreciated. Like this, the bzr backend
is just too slow to use (for me on my laptop at 1.5GHz).

15 years agozshrc: Adding support for monotone repositories to vcs_info()
Frank Terbeck [Fri, 29 Aug 2008 21:28:32 +0000 (23:28 +0200)]
zshrc: Adding support for monotone repositories to vcs_info()

15 years agozshrc: Adding support for darcs repositories to vcs_info()
Frank Terbeck [Fri, 29 Aug 2008 20:22:44 +0000 (22:22 +0200)]
zshrc: Adding support for darcs repositories to vcs_info()

This is pretty basic support; but at least it detects darcs repositories
correctly. Since darcs has no concept of branches, but rather implements
them by using multiple repositories, %b expands to the same thing %r does.

15 years agoIntroduce a disable style to vcs_info()
Frank Terbeck [Fri, 29 Aug 2008 17:50:36 +0000 (19:50 +0200)]
Introduce a disable style to vcs_info()

Give the user the opportunity to switch the vcs_info prompt off for
certain version control systems.

Plus documentation update for vcs_info(), including examples.

15 years agozshrc: Handle non-repo .hg subdirectories
Frank Terbeck [Fri, 29 Aug 2008 17:11:50 +0000 (19:11 +0200)]
zshrc: Handle non-repo .hg subdirectories

Such directories, that are not the .hg subdirectory of a mercurial
repository. Found by Karl Voit.

15 years agozshrc: A few changes for the sake of consistency
Frank Terbeck [Thu, 28 Aug 2008 14:26:46 +0000 (16:26 +0200)]
zshrc: A few changes for the sake of consistency

    + Use $'...' to manually define colors.
    + unset the newly introduced YELLOW and MAGENTA variables.

No *real* code changes here.

15 years agozshrc: Make vcs_info() detect $GIT_DIR/svn and set vcs to 'git-svn'
Frank Terbeck [Wed, 27 Aug 2008 20:36:44 +0000 (22:36 +0200)]
zshrc: Make vcs_info() detect $GIT_DIR/svn and set vcs to 'git-svn'

15 years agozshrc: Clean up vcs_info() a little
Frank Terbeck [Wed, 27 Aug 2008 20:24:05 +0000 (22:24 +0200)]
zshrc: Clean up vcs_info() a little

15 years agoUpdating debian/changelog
Frank Terbeck [Wed, 27 Aug 2008 11:08:29 +0000 (13:08 +0200)]
Updating debian/changelog

15 years agozshrc: Handle a state of git in vcs_info(), when a normal rebase conflicts
Frank Terbeck [Wed, 27 Aug 2008 11:00:35 +0000 (13:00 +0200)]
zshrc: Handle a state of git in vcs_info(), when a normal rebase conflicts

This should have been handled before, but didn't due to a bug.
I just ran into this state for the first time.

15 years agoAdded tag 0.3.52 for changeset 1331f322ab7e
Michael Prokop [Wed, 27 Aug 2008 11:05:35 +0000 (13:05 +0200)]
Added tag 0.3.52 for changeset 1331f322ab7e

15 years agozshrc: Fix for detecting bzr repos with vcs_info() 0.3.52
Frank Terbeck [Tue, 26 Aug 2008 23:06:15 +0000 (01:06 +0200)]
zshrc: Fix for detecting bzr repos with vcs_info()

15 years agoAnd the of-course-forgotten debian/changelog update
Frank Terbeck [Tue, 26 Aug 2008 14:40:07 +0000 (16:40 +0200)]
And the of-course-forgotten debian/changelog update

15 years agozshrc: Load colors earlier, for vcs_info()
Frank Terbeck [Tue, 26 Aug 2008 14:32:18 +0000 (16:32 +0200)]
zshrc: Load colors earlier, for vcs_info()

This also adds YELLOW and MAGENTA to the prompt color variables.

15 years agozshrc: Fixing a stupid typo in the last commit, which totally broke our prompt
Frank Terbeck [Tue, 26 Aug 2008 14:21:48 +0000 (16:21 +0200)]
zshrc: Fixing a stupid typo in the last commit, which totally broke our prompt

15 years agozshrc: Enable vcs_info() in our prompts by default.
Frank Terbeck [Tue, 26 Aug 2008 14:17:30 +0000 (16:17 +0200)]
zshrc: Enable vcs_info() in our prompts by default.

For people who really dislike this feature, it's optional via:
    % zstyle ':vcs_info:*' enable false

15 years agozshrc: Remove the old __vcs_dir() code
Frank Terbeck [Tue, 26 Aug 2008 14:04:27 +0000 (16:04 +0200)]
zshrc: Remove the old __vcs_dir() code

15 years agozshrc: Introduce vcs_info()
Frank Terbeck [Tue, 26 Aug 2008 14:00:54 +0000 (16:00 +0200)]
zshrc: Introduce vcs_info()

This is supposed to be a better __vcs_dir(). In zsh, functions starting
with an underscore are supposed to be part of the completion system.
Therefore, the name switch to vcs_info().

This commit does not enable vcs_info(), yet.

It currently supports git, hg, bzr, svk and svn. However, only the
git, hg and svn backends were tested. Up to now, only git supports
*all* functionality vcs_info() is able to provide.

Its configuration is documented in a comment within the code.

15 years agoAdded tag 0.3.51 for changeset 38e8a4644102
Michael Prokop [Wed, 6 Aug 2008 21:56:08 +0000 (23:56 +0200)]
Added tag 0.3.51 for changeset 38e8a4644102

15 years agoAdd (deactivated) completion for aliases 0.3.51
Michael Prokop [Wed, 6 Aug 2008 21:52:10 +0000 (23:52 +0200)]
Add (deactivated) completion for aliases

15 years agoRevert removal of xunfunction(), people are using it already
Michael Prokop [Wed, 6 Aug 2008 21:43:53 +0000 (23:43 +0200)]
Revert removal of xunfunction(), people are using it already

15 years agoUpdate gizmo(), add linenr()
Michael Prokop [Wed, 6 Aug 2008 21:39:21 +0000 (23:39 +0200)]
Update gizmo(), add linenr()

15 years agozshrc: new function uopen
Michael Prokop [Wed, 6 Aug 2008 12:18:20 +0000 (14:18 +0200)]
zshrc: new function uopen

15 years agoRemoving xunfunction()
Frank Terbeck [Wed, 6 Aug 2008 12:09:13 +0000 (14:09 +0200)]
Removing xunfunction()

Caused more trouble than being useful.

15 years agoProvide more processes in completion [...] of killall
Michael Prokop [Sun, 3 Aug 2008 18:25:14 +0000 (20:25 +0200)]
Provide more processes in completion [...] of killall

15 years agoadded changelog entry
Michael Gebetsroither [Fri, 1 Aug 2008 11:55:50 +0000 (13:55 +0200)]
added changelog entry