Michael Prokop [Sun, 26 Dec 2010 23:10:15 +0000 (00:10 +0100)]
Release new version 0.3.88.
Ulrich Dangel [Wed, 22 Dec 2010 10:22:18 +0000 (11:22 +0100)]
Remove persistent undo for vim
After some discussion with ft and mika we decided that persistent undo
should not be part of our default configuration as it changes existing
workflows.
Michael Prokop [Fri, 17 Dec 2010 11:36:58 +0000 (12:36 +0100)]
Release new version 0.3.87.
Frank Terbeck [Wed, 8 Dec 2010 11:59:54 +0000 (12:59 +0100)]
Adding a kill to slash binding to alt-backspace
As requested by mika, mrud and kafux.
I'm binding the widget to "M-C-h" and "M-C-?" because those are common
codes send by the backspace key in various terminals (and sometimes
terminfo lies about it).
Michael Prokop [Tue, 7 Dec 2010 17:44:01 +0000 (18:44 +0100)]
Release new version 0.3.86.
Frank Terbeck [Fri, 3 Dec 2010 10:26:36 +0000 (11:26 +0100)]
Fix `VCS_INFO_realpath()' for zsh 4.3.10 and below
If the chpwd hook is activated by using the `chpwd_functions[]' array,
could break `VCS_INFO_realpath()', which could lead to endless loops in
`vcs_info' if the one of the hook functions produced output.
This fixes it.
I'm refraining from patching the grmlzshrc-included
`VCS_INFO_realpath()' function, because the use of "cd -q" requires a
pretty recent version of the shell.
Michael Prokop [Tue, 23 Nov 2010 22:30:57 +0000 (23:30 +0100)]
Release new version 0.3.85.
Frank Terbeck [Tue, 23 Nov 2010 22:16:16 +0000 (23:16 +0100)]
zshrc: Do not set `localoptions' in `xsource()'
"emulate -L zsh" sets zsh's option set to the default values of zsh's
native mode. The `-L' causes the options to be set local to the
surrounding function. That makes sense in most cases.
With `xsource()' however, we explicitly want to *allow* changing options
from the files sourced by that function. That's one of the main purposes
of the function.
I took the `emulate' call out entirely because it doesn't make sense
without `-L' in untility functions. I also hardened the function's code
a little when it's run with non-zsh-mode options (like sh_word_split).
Reported-by: Dominic Hopf
Frank Terbeck [Sun, 21 Nov 2010 12:24:16 +0000 (13:24 +0100)]
Updated debian/changelog
Ulrich Dangel [Sun, 21 Nov 2010 11:57:07 +0000 (12:57 +0100)]
Remove startx and xinit functions
Current X11 versions as well as the current grml-x version do
not longer need a configuration file. Therefore the xinit/startx
functions are not longer needed.
The decision to switch to a config less xorg environment was made at the
grml developer meeting http://grml.org/reports/devmeeting_2010/ and a the
new grml-x packet is already uploaded to grml-testing.
Michael Prokop [Mon, 8 Nov 2010 16:31:25 +0000 (17:31 +0100)]
Release new version 0.3.84.
Ulrich Dangel [Mon, 8 Nov 2010 16:21:44 +0000 (17:21 +0100)]
Change the location of the persistent undo file to $HOME/.cache/vim [Closes: issue927]
Frank Terbeck [Mon, 8 Nov 2010 15:55:32 +0000 (16:55 +0100)]
zshrc: Fix functions path in /usr/share
Michael Prokop [Mon, 8 Nov 2010 10:54:52 +0000 (11:54 +0100)]
Update changelog regarding /etc/skel/.gitconfig and Standards-Version update.
Michael Prokop [Mon, 8 Nov 2010 10:30:09 +0000 (11:30 +0100)]
Bump Standards-Version to 3.9.1.
Frank Terbeck [Fri, 5 Nov 2010 08:34:16 +0000 (09:34 +0100)]
Sync zsh-lookup with upstream
...adding grml_bts backend.
Frank Terbeck [Fri, 5 Nov 2010 08:33:38 +0000 (09:33 +0100)]
Updated debian/changelog
Frank Terbeck [Fri, 5 Nov 2010 08:33:00 +0000 (09:33 +0100)]
debian/copyright update, due to zsh-lookup inclusion
Frank Terbeck [Thu, 4 Nov 2010 12:48:18 +0000 (13:48 +0100)]
Add zsh-lookup sub-system
In the grml-etc-core package. Not in the grmlzshrc file. Not going to happen. :)
Michael Prokop [Thu, 4 Nov 2010 13:01:16 +0000 (14:01 +0100)]
/etc/skel/.gitconfig: drop core.pager option (less -Mr) causing terminal problems.
Frank Terbeck [Thu, 21 Oct 2010 08:46:33 +0000 (10:46 +0200)]
zshrc: Disable vcs_info for restricted shells
Frank Terbeck [Mon, 27 Sep 2010 20:01:07 +0000 (22:01 +0200)]
Update debian/changelog
Ulrich Dangel [Mon, 27 Sep 2010 19:54:16 +0000 (21:54 +0200)]
Add support for persistent-undo in vim >= 703
Store the undo file in ~/.vim/undo. The directory will be created
automatically if possible.
Acked-by: Michael Prokop <mika@grml.org>
Frank Terbeck [Wed, 15 Sep 2010 09:53:30 +0000 (11:53 +0200)]
Added a note about modifying the zshrc file
Joerg Woelke [Sat, 28 Aug 2010 14:10:05 +0000 (16:10 +0200)]
grmlzshrc.t2t: Finishing functions.
cdiff(), cvsa(), cvsd(), cvsl(), cvsq(), cvsr(), cvss().
Frank Terbeck [Sat, 28 Aug 2010 13:19:20 +0000 (15:19 +0200)]
Update debian/changelog
Joerg Woelke [Fri, 27 Aug 2010 12:19:44 +0000 (14:19 +0200)]
grmlzshrc.t2t: doc for more functions.
gex(), wikide(), wikien() and wodeb().
Joerg Woelke [Fri, 27 Aug 2010 18:06:02 +0000 (20:06 +0200)]
zshrc: Fix passing of args in cdiff().
Use "$@" instead of "$*".
Joerg Woelke [Thu, 26 Aug 2010 15:55:41 +0000 (17:55 +0200)]
grmlzshrc.t2t: doc for netcraft(), swiki(), oleo().
Joerg Woelke [Tue, 24 Aug 2010 14:53:51 +0000 (16:53 +0200)]
grmlzshrc.t2t: Some more functions.
dmoz(), dwicti(), ewicti(), ggogle(), google(), iwclient(),
mggogle().
Frank Terbeck [Thu, 19 Aug 2010 19:40:25 +0000 (21:40 +0200)]
Update debian/changelog
Joerg Woelke [Thu, 19 Aug 2010 14:46:31 +0000 (16:46 +0200)]
zshrc: Fix iwclient()
Calling dhclient instead of aliasing it.
Make awk print the right field.
Acked-by: Michael Prokop <mika@grml.org>
Joerg Woelke [Thu, 19 Aug 2010 13:40:09 +0000 (15:40 +0200)]
grmlzshrc.t2t: More functions.
deswap(), ipv6-tunnel(), Start()/Stop()/Reload() etc.
Joerg Woelke [Wed, 18 Aug 2010 19:37:37 +0000 (21:37 +0200)]
grmlzshrc.t2t: More functions documented.
any(), dchange(), dnews(), edalias(), edfunc(), freload(),
manzsh(), profile(), sll(), setenv(), uchange().
Joerg Woelke [Wed, 18 Aug 2010 14:20:03 +0000 (16:20 +0200)]
grmlzshrc.t2t: Docs for some functions.
get_tw_cli(), apache2-ssl-certificate(), nt().
Joerg Woelke [Mon, 16 Aug 2010 16:45:59 +0000 (18:45 +0200)]
grmlzshrc.t2t: Finish aliases
Document debs-by-size and fix formatting typo in "...".
Joerg Woelke [Mon, 16 Aug 2010 11:46:04 +0000 (13:46 +0200)]
grmlzshrc.t2t: Docs for some aliases.
$(uname -r)-reboot, cp, mkdir, mv, rm, rd, term2iso, term2utf,
0, S, s, top10, dbp, ge llog, tlog.
Joerg Woelke [Wed, 11 Aug 2010 19:35:53 +0000 (21:35 +0200)]
grmlzshrc.t2t: aliases hidiff, url-quote, mdstat and ...
Joerg Woelke [Wed, 11 Aug 2010 12:48:49 +0000 (14:48 +0200)]
grmlzshrc.t2t: Mercurial related aliases (hbp, mq).
Joerg Woelke [Tue, 10 Aug 2010 16:47:10 +0000 (18:47 +0200)]
grmlzshrc.t2t: environment vars LESS_TERMCAP_*
Frank Terbeck [Sat, 7 Aug 2010 12:59:42 +0000 (14:59 +0200)]
Update debian/changelog
Ulrich Dangel [Sat, 7 Aug 2010 12:52:59 +0000 (14:52 +0200)]
zshrc: Remove get{air,gizmo,skype,skypebeta,xlite} functions
Frank Terbeck [Sat, 7 Aug 2010 09:59:38 +0000 (11:59 +0200)]
Update debian/changelog
Joerg Woelke [Sat, 7 Aug 2010 09:54:15 +0000 (11:54 +0200)]
zshrc: Remove functions gethgclone() and gethgsnap()
Superfluous wrappers around hg.
Joerg Woelke [Sat, 7 Aug 2010 09:49:15 +0000 (11:49 +0200)]
grmlzshrc.t2t: functions hgstat() and hgdi().
Joerg Woelke [Thu, 5 Aug 2010 16:53:48 +0000 (18:53 +0200)]
grmlzshrc.t2t: Variable watch.
Joerg Woelke [Thu, 5 Aug 2010 11:28:26 +0000 (13:28 +0200)]
grmlzshrc.t2t: Vars HISTFILE, HISTSIZE and SAVEHIST.
Joerg Woelke [Sat, 31 Jul 2010 11:15:27 +0000 (13:15 +0200)]
grmlzshrc.t2t: Doc for functions whatwhen() and weather()
Frank Terbeck [Fri, 30 Jul 2010 17:05:44 +0000 (19:05 +0200)]
Update debian/changelog
Joerg Woelke [Fri, 30 Jul 2010 15:19:53 +0000 (17:19 +0200)]
zshrc: Silence warning in weather() and make func more verbose.
Frank Terbeck [Wed, 28 Jul 2010 14:42:04 +0000 (16:42 +0200)]
Fixed a bug in whatwhen()' help output
Found by Joerg Woelke. Thanks!
Signed-off-by: Frank Terbeck <ft@grml.org>
Frank Terbeck [Wed, 28 Jul 2010 14:15:09 +0000 (16:15 +0200)]
Update debian/changelog
Joerg Woelke [Wed, 28 Jul 2010 13:11:33 +0000 (15:11 +0200)]
grmlzshrc.t2t: Document function linenr()
Frank Terbeck [Fri, 23 Jul 2010 08:48:23 +0000 (10:48 +0200)]
Updated debian/changelog
Signed-off-by: Frank Terbeck <ft@grml.org>
Joerg Woelke [Wed, 21 Jul 2010 16:10:26 +0000 (18:10 +0200)]
zshrc: Comment out zurl().
Function is broken and violates Tinyurl's policy. Needs a rewrite.
Acked-by: Michael Prokop <mika@grml.org>
Acked-by: Frank Terbeck <ft@grml.org>
Frank Terbeck [Tue, 29 Jun 2010 11:43:03 +0000 (13:43 +0200)]
debian/changelog: Fixed typo
Signed-off-by: Frank Terbeck <ft@grml.org>
Frank Terbeck [Tue, 29 Jun 2010 11:23:23 +0000 (13:23 +0200)]
grmlzshrc.t2t: Remove references to git-get-*()
Reported-by: Carsten Hey <carsten@debian.org>
Signed-off-by: Frank Terbeck <ft@grml.org>
Frank Terbeck [Tue, 29 Jun 2010 09:10:56 +0000 (11:10 +0200)]
Updated debian/changelog
Signed-off-by: Frank Terbeck <ft@bewatermyfriend.org>
Frank Terbeck [Tue, 29 Jun 2010 09:07:26 +0000 (11:07 +0200)]
zshrc: Amending the previous patches slightly
* Using our `check_com' function instead of `which'
* Make sure `print' doesn't crap its pants for files named "-*"
Signed-off-by: Frank Terbeck <ft@bewatermyfriend.org>
Carsten Hey [Mon, 28 Jun 2010 12:03:42 +0000 (14:03 +0200)]
zshrc: rename new() to modified(), add an alias for backwards compatibility and add new function accessed()
Signed-off-by: Carsten Hey <carsten@debian.org>
Carsten Hey [Mon, 28 Jun 2010 18:43:18 +0000 (20:43 +0200)]
zshrc: load zsh/stat as zstat instead of stat
Signed-off-by: Carsten Hey <carsten@debian.org>
Carsten Hey [Mon, 28 Jun 2010 12:03:39 +0000 (14:03 +0200)]
zshrc: fix typo in default value handling of changed() and new()
Signed-off-by: Carsten Hey <carsten@debian.org>
Frank Terbeck [Sat, 19 Jun 2010 19:21:03 +0000 (21:21 +0200)]
zshrc: Remove git-get-*()
Michael Prokop [Thu, 10 Jun 2010 21:33:53 +0000 (23:33 +0200)]
Release new version 0.3.83.
Michael Prokop [Thu, 10 Jun 2010 14:09:40 +0000 (16:09 +0200)]
zshrc: prefer external vcs_info if available, fall back to internal otherwise (thanks, ft)
Michael Prokop [Thu, 10 Jun 2010 13:38:19 +0000 (15:38 +0200)]
zshrc: do not enable menu selection for directory-stack, this modifies ctrl-d behaviour as well
Michael Prokop [Wed, 2 Jun 2010 21:21:47 +0000 (23:21 +0200)]
Run VCS_INFO_check_com cvs inside VCS_INFO_cvs_detect.
Thanks to Carsten Hey.
Michael Prokop [Mon, 31 May 2010 16:25:04 +0000 (18:25 +0200)]
Rename _bkdate to insert-datestamp and enter date at cursor position instead of end of line.
Thanks to Martin Krafft for the inspiration.
Michael Prokop [Thu, 27 May 2010 23:03:52 +0000 (01:03 +0200)]
Release version 0.3.82.
Michael Prokop [Mon, 24 May 2010 22:50:44 +0000 (00:50 +0200)]
Function asc() for roadwarriors using GNU screen and ssh. Thanks to Axel Beckert.
Michael Prokop [Thu, 20 May 2010 19:44:02 +0000 (21:44 +0200)]
Release version 0.3.81.
Michael Prokop [Thu, 20 May 2010 19:42:15 +0000 (21:42 +0200)]
Support /etc/grml/screenrc in screen function for non-root users.
Frank Terbeck [Sun, 14 Mar 2010 23:47:54 +0000 (00:47 +0100)]
debian/changelog Update
Carsten Hey [Sun, 14 Mar 2010 23:05:34 +0000 (00:05 +0100)]
zshrc: add default values to changed() and new()
Make changed() and new() display files changed/modified within the last
day if no argument was given
Signed-off-by: Carsten Hey <carsten@debian.org>
Carsten Hey [Sun, 14 Mar 2010 23:04:24 +0000 (00:04 +0100)]
zshrc: add function changed()
Signed-off-by: Carsten Hey <carsten@debian.org>
Carsten Hey [Sun, 14 Mar 2010 23:02:06 +0000 (00:02 +0100)]
zshrc: map backtab to reverse-menu-complete
Signed-off-by: Carsten Hey <carsten@debian.org>
Michael Prokop [Thu, 11 Mar 2010 00:35:37 +0000 (01:35 +0100)]
Release new version 0.3.80.
Frank Terbeck [Wed, 10 Mar 2010 23:48:44 +0000 (00:48 +0100)]
zshrc: Make minimal-shellrc printf-free
One of the major reasons for `minimal-shell()' is to be able to use it
without /usr being mounted. But some OS vendors think it's smart to put
`printf' into /usr/bin - sed, of course happily lives in /bin. Debian
happens to think that's funny, too.
mksh doesn't make `printf' a builtin because it doesn't want to link
libm in (well, you can hack it in - but that's a discouraged non-
default). This replaces "printf '%s' foo' with "print -r -- foo", which
should resolve the issue for us nicely.
Frank Terbeck [Wed, 10 Mar 2010 23:28:32 +0000 (00:28 +0100)]
zshrc: Fixed `minimal-shell' function
Well, it was actually completely broken. Because I fed an absolute path
name into `check_com()' without testing it - instead of using the
obvious test.
This also fixes an annoyance:
If infocmp returns an octal code such as this:
backspace='\177'
That screwed up our special-string resolution, because mksh's `print'
builtin doesn't like \177 style octals. It *requires* them to look like
this: \0177 (leading zero).
We now just translate these strings like this:
\\[1-7][0-7]* => \\0[1-7][0-7]*
That should be fairly safe. - And this time, mika and me actually tested
the code before committing it. :-)
Michael Prokop [Wed, 10 Mar 2010 22:53:00 +0000 (23:53 +0100)]
Drop backupcopy option to avoid overwriting symlinks. Issue brought up by Ulrich, thanks!
Frank Terbeck [Wed, 3 Mar 2010 12:58:48 +0000 (13:58 +0100)]
Make our C-z shortcut smarter
Frank Terbeck [Wed, 3 Mar 2010 11:34:40 +0000 (12:34 +0100)]
Make sure /bin/mksh is used in minimal-shell()
If that is not done, the `env' program may start a mksh from the
current directory, which we certainly do not want. At all.
Frank Terbeck [Mon, 1 Mar 2010 18:05:23 +0000 (19:05 +0100)]
grmlzshrc.t2t: Updated minimal-shell entry
Frank Terbeck [Mon, 1 Mar 2010 16:50:10 +0000 (17:50 +0100)]
zshrc: Switch `minimal-shell()' from ksh93 to mksh
As announced in:
<http://ml.grml.org/pipermail/grml-devel/2010-February/000011.html>
The minimal-shell() function now checks if the shell in question (mksh)
is available and if so, executes it with an empty environment, with only
TERM and HOME set. The mksh setup used sets a number of other
environment variables (such as $VISUAL, $EDITOR and $PAGER).
One added feature is that the mksh prompt shows non-zero return values
from programs you ran:
[snip]
(3)-~$ false
[1]-(4)-~$ true
(5)-~$
[snap]
The prompt does *not* feature any eye-candy such as standout or colour
sequences. It should therefore run in pretty much every terminal.
Special keys are set up via terminfo if `infocmp' is available.
Otherwise mksh's rather sane defaults are used.
Michael Prokop [Fri, 26 Feb 2010 21:04:22 +0000 (22:04 +0100)]
Bump Standards-Version to 3.8.4 and release 0.3.79.
Frank Terbeck [Mon, 8 Feb 2010 22:06:03 +0000 (23:06 +0100)]
debian/changelog move entry to the appropriate version
Ulrich Dangel [Mon, 8 Feb 2010 22:02:29 +0000 (23:02 +0100)]
updated changelog entry
Ulrich Dangel [Mon, 8 Feb 2010 00:00:03 +0000 (01:00 +0100)]
Use wrapper functions for changing title/screen [Closes: Issue779]
ZSH prompt escapes in a command while caused strange output. Therefor
do not use print -nP but expand the prompt escapes explicit. To provide
a convinient method for changing the title Franks screen_printf function
from <http://ft.bewatermyfriend.org/comp/zsh/zshrc.d/zfunct.html> was used
as starting point.
Acked-by: Frank Terbeck <ft@grml.org>
Frank Terbeck [Sun, 7 Feb 2010 17:07:10 +0000 (18:07 +0100)]
zshrc: fix problems in vcs_info wrt older git versions
When rebases conflict and create a directory .dotest/, the branch name
ended up empty and that caused the git backend to abort collecting data
and return an error code.
That caused vcs_info to set up everything as if no version control
system controlled the directory.
Reported by Timo Boettcher, Thanks!
Joerg Woelke [Tue, 8 Dec 2009 16:24:20 +0000 (17:24 +0100)]
grmlzshrc.t2t: Docs for some shell variables.
COMMAND_NOT_FOUND, GRML_ALWAYS_LOAD_ALL, GRML_ZSH_CNF_HANDLER,
GRMLSMALL_SPECIFIC, MAILCHECK, NOCOR, NOMENU, NOPRECMD,
REPORTTIME, ZSH_NO_DEFAULT_LOCALE, ZSH_PROFILE_RC.
Joerg Woelke [Thu, 26 Nov 2009 14:12:44 +0000 (15:12 +0100)]
zshrc: Remove function j2v().
Acked-by: Michael Prokop <mika@grml.org>
Acked-by: Frank Terbeck <ft@grml.org>
Joerg Woelke [Wed, 25 Nov 2009 08:21:40 +0000 (09:21 +0100)]
grmlzshrc.t2t: Some environment variables.
EDITOR, MAIL, PAGER, SHELL.
Michael Prokop [Wed, 11 Nov 2009 20:48:06 +0000 (21:48 +0100)]
Update for release 0.3.78.
Ulrich Dangel [Sat, 7 Nov 2009 01:37:55 +0000 (02:37 +0100)]
Added top configuration file to skel directory. Thanks to Andras Korn for
the idea. [Closes: issue755]
Frank Terbeck [Fri, 6 Nov 2009 14:21:53 +0000 (15:21 +0100)]
More sanity checks for vcs_info
Before, this could screw you:
cd /tmp; mkdir test; cd test; sudo chown root .; sudo chmod 700 .
Michael Prokop [Thu, 22 Oct 2009 11:38:34 +0000 (13:38 +0200)]
Update changelog (Closes: issue745)
Michael Prokop [Thu, 22 Oct 2009 00:56:30 +0000 (02:56 +0200)]
Update changelog
Axel Beckert [Sat, 10 Oct 2009 11:53:46 +0000 (13:53 +0200)]
Add Emacs local variables at EOF equivalent to vim's.
Michael Prokop [Wed, 21 Oct 2009 23:18:31 +0000 (01:18 +0200)]
Update date in GRMLZSHRC and add online rule to Makefile
Michael Prokop [Wed, 21 Oct 2009 23:04:09 +0000 (01:04 +0200)]
Update changelog for release 0.3.77.