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.
Frank Terbeck [Wed, 21 Oct 2009 14:10:33 +0000 (16:10 +0200)]
Adding changelog entry for the added zshrc manual
Frank Terbeck [Wed, 21 Oct 2009 13:40:27 +0000 (15:40 +0200)]
grmlzshrc.t2t: change wording in STATUS section
Frank Terbeck [Fri, 16 Oct 2009 07:14:07 +0000 (09:14 +0200)]
grmlzshrc.t2t: Add some more authors
Joerg Woelke [Wed, 7 Oct 2009 12:14:01 +0000 (14:14 +0200)]
grmlzshrc.t2t: Begin documenting environment variables.
Intro, BROWSER, COLORTERM, QTDIR.
Axel Beckert [Mon, 21 Sep 2009 12:12:50 +0000 (14:12 +0200)]
grmlzshrc.t2t: Document ssl-cert-* functions
Joerg Woelke [Sun, 20 Sep 2009 18:30:23 +0000 (20:30 +0200)]
grmlzshrc.t2t: Fix typo.
smart-indent instead of smartindent.
Joerg Woelke [Thu, 17 Sep 2009 06:49:43 +0000 (08:49 +0200)]
grmlzshrc.t2t: Descriptions of functions.
d, exirename, hl, ic_get, makereadable, man2, mdiff,
mkmaildir, new, trans, uopen, xtrename.
Joerg Woelke [Fri, 11 Sep 2009 15:05:45 +0000 (17:05 +0200)]
grmlzshrc.t2t: Descriptions for functions.
check_com, checkhome, iso2utf, salias, swspeak, uprint,
utf2iso, xcat, xsource, xunfunction, zrcautoload,
zrclocal.
Joerg Woelke [Tue, 8 Sep 2009 14:06:20 +0000 (16:06 +0200)]
grmlzshrc.t2t: Options chapter.
Joerg Woelke [Mon, 7 Sep 2009 10:41:56 +0000 (12:41 +0200)]
grmlzshrc.t2t: Document umask settings.
Joerg Woelke [Sat, 5 Sep 2009 19:09:50 +0000 (21:09 +0200)]
grmlzshrc.t2t: Some keybindings.
ESC-v, CTRL-x-1, CTRL-x-p, CTRL-z.
Joerg Woelke [Sat, 5 Sep 2009 19:09:48 +0000 (21:09 +0200)]
grmlzshrc.t2t: Docs for software installing functions.
getair, getgizmo, getskype, getskypebeta, getxlite.
Joerg Woelke [Sat, 5 Sep 2009 19:09:49 +0000 (21:09 +0200)]
grmlzshrc.t2t: Some descriptions of functions.
allulimit, dirspace, disassemble, fir, git-get-diff,
git-get-commit, git-get-plaindiff, hidiff, mkaudiocd,
mmake, ogg2mp3_192, refunc, smartindent.
Joerg Woelke [Thu, 3 Sep 2009 15:50:41 +0000 (17:50 +0200)]
grmlzshrc.t2t: Document new functions.
855resolution, cdrecord, debian2hd.
Joerg Woelke [Thu, 3 Sep 2009 15:57:52 +0000 (17:57 +0200)]
grmlzshrc.t2t: More docs of some functions.
ansi-colors, plap, selhist, show-archive,
simple-extract, smartcompress, vman.
Joerg Woelke [Thu, 3 Sep 2009 15:57:51 +0000 (17:57 +0200)]
grmlzshrc.t2t: Docs for some functions.
agoogle, aoeu, asdf, uiae, bk, brltty, debbug, debbugm,
minimal-shell, peval, vim, zg.
Joerg Woelke [Thu, 3 Sep 2009 15:57:50 +0000 (17:57 +0200)]
grmlzshrc.t2t: Docs for some aliases.
calc, CH, CO, default, grml-rebuildfstab, grml-version,
hide, huge, large, medium, semifont, small, smartfont,
su, tiny, truec.
Maurice McCarthy [Sun, 30 Aug 2009 12:16:56 +0000 (13:16 +0100)]
grmlzshrc.t2t: Aliases ? and help-zshglob
Joerg Woelke [Fri, 28 Aug 2009 17:05:57 +0000 (19:05 +0200)]
grmlzshrc.t2t: Docs for apt related aliases.
acp, acs, acsh, adg, ag, agi, ati, au, up.
Joerg Woelke [Thu, 27 Aug 2009 17:41:03 +0000 (19:41 +0200)]
grmlzshrc.t2t: Some aliases to ls(1).
dir, lad, lsa, lsl, lss.
Joerg Woelke [Thu, 27 Aug 2009 14:24:55 +0000 (16:24 +0200)]
grmlzshrc.t2t: Put alias j back into alphabetic order.
Joerg Woelke [Thu, 27 Aug 2009 14:21:19 +0000 (16:21 +0200)]
grmlzshrc.t2t: aliases insecscp and insecssh.
Frank Terbeck [Wed, 26 Aug 2009 12:14:03 +0000 (14:14 +0200)]
grmlzshrc.t2t: Add documentation about zsh-refcard tags
Joerg Woelke [Wed, 26 Aug 2009 11:06:54 +0000 (13:06 +0200)]
grmlzshrc.t2t: More function docs.
fluxkey-change, genthumbs, lcheck, purge, regcheck.
Joerg Woelke [Tue, 25 Aug 2009 14:03:46 +0000 (16:03 +0200)]
grmlzshrc.t2t: Some more docs for functions.
audioburn, audiorip, mkiso, shzip, slow_print, status, udiff.
Joerg Woelke [Fri, 21 Aug 2009 17:46:14 +0000 (19:46 +0200)]
grmlzshrc.t2t: Some more descriptions of functions.
is4(), is41(), is42(), is425(), is43(), is433(),
isdarwin(), isgrml(), isgrmlcd(), isgrmlsmall(),
isutfenv(), limg(), sshot().
Frank Terbeck [Fri, 21 Aug 2009 08:35:53 +0000 (10:35 +0200)]
grmlzshrc.t2t: Add note about --color=auto
I think most aliases actually do check for GNU tools before using --color.
Those that do not should get such a test in the future.
Joerg Woelke [Thu, 20 Aug 2009 15:19:57 +0000 (17:19 +0200)]
grmlzshrc.t2t: More descriptions of aliases.
l, la, lh, ll, ls, lsx, screen.
Joerg Woelke [Thu, 20 Aug 2009 15:09:01 +0000 (17:09 +0200)]
grmlzshrc.t2t: Some more descriptions of functions.
cl, greph, mcd, shtar, viless.
Joerg Woelke [Tue, 18 Aug 2009 16:26:57 +0000 (18:26 +0200)]
grmlzshrc.t2t: More descriptions of aliases.
grep, GREP, lsbig, lsd, lse, lsnew, lsold, lssmall, lsw.
Frank Terbeck [Mon, 17 Aug 2009 19:27:25 +0000 (21:27 +0200)]
grmlzshrc.t2t: Update Authors section to include Joerg
Joerg Woelke [Mon, 17 Aug 2009 19:05:06 +0000 (21:05 +0200)]
grmlzshrc.t2t: Documentation for more functions
2html, doc, hex, readme, startx, upgrade, xinit.
Joerg Woelke [Mon, 10 Aug 2009 20:03:33 +0000 (22:03 +0200)]
grmlzshrc.t2t: Add documentation for a number of aliases
Specifically:
cmplayer, da, fblinks, fbmplayer, g, http, j, md, rw-, rwx, r--, r-x.
Acked-By: Frank Terbeck <ft@bewatermyfriend.org>
Frank Terbeck [Mon, 3 Aug 2009 14:35:48 +0000 (16:35 +0200)]
grmlzshrc.t2t: Update date
Frank Terbeck [Mon, 3 Aug 2009 14:18:22 +0000 (16:18 +0200)]
grmlzshrc.t2t: Start section about keybindings
Frank Terbeck [Mon, 3 Aug 2009 14:28:52 +0000 (16:28 +0200)]
grmlzshrc.t2t: Document installation on non-debian systems
Frank Terbeck [Mon, 3 Aug 2009 13:49:06 +0000 (15:49 +0200)]
grmlzshrc.t2t: Keep list layout consistent
Frank Terbeck [Mon, 3 Aug 2009 13:46:52 +0000 (15:46 +0200)]
grmlzshrc.t2t: Update aux files section
Frank Terbeck [Mon, 3 Aug 2009 13:46:27 +0000 (15:46 +0200)]
grmlzshrc.t2t: Document persistent history
Frank Terbeck [Mon, 3 Aug 2009 13:45:51 +0000 (15:45 +0200)]
grmlzshrc.t2t: Document screen status setting
Frank Terbeck [Mon, 3 Aug 2009 13:08:10 +0000 (15:08 +0200)]
grmlzshrc.t2t: Document the accept-line wrapper feature
Frank Terbeck [Mon, 3 Aug 2009 09:49:27 +0000 (11:49 +0200)]
grmlzshrc.t2t: Add a STATUS section
Frank Terbeck [Mon, 1 Jun 2009 10:41:39 +0000 (12:41 +0200)]
grmlzshrc.t2t: Document directory based profiles
Frank Terbeck [Mon, 1 Jun 2009 10:41:02 +0000 (12:41 +0200)]
grmlzshrc.t2t: Document persistent dirstack
Frank Terbeck [Mon, 1 Jun 2009 11:54:48 +0000 (13:54 +0200)]
t2t-modern.css: Switching default font family
From "Garamond, Times, Serif" to "verdana, tahoma, helvetica, arial, sans-serif".
As requested by mika. :)
Frank Terbeck [Mon, 1 Jun 2009 11:21:20 +0000 (13:21 +0200)]
Add modern.css from txt2tags as doc/t2t-modern.css
It is GPLd, so we could use it as a base for an own css style.
Unchanged for now.
Frank Terbeck [Mon, 3 Aug 2009 09:32:09 +0000 (11:32 +0200)]
Add a manpage skeleton for grmlzshrc.5 as txt2tags markup
Frank Terbeck [Sun, 31 May 2009 13:12:56 +0000 (15:12 +0200)]
Add .gitignore
Michael Prokop [Sat, 17 Oct 2009 19:54:10 +0000 (21:54 +0200)]
zshrc: drop aumix call in swspeak()
Michael Prokop [Wed, 14 Oct 2009 07:27:04 +0000 (09:27 +0200)]
Update changelog for release
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
Frank Terbeck [Thu, 8 Oct 2009 09:31:07 +0000 (11:31 +0200)]
Use *-pattern-* for incremental history searches
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.
Frank Terbeck [Mon, 21 Sep 2009 18:36:32 +0000 (20:36 +0200)]
Add missing Closes: for #741
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.
Michael Prokop [Mon, 7 Sep 2009 15:59:23 +0000 (17:59 +0200)]
Update/fix debian/changelog
Michael Prokop [Mon, 7 Sep 2009 15:57:03 +0000 (17:57 +0200)]
Bump Standards-Version to 3.8.3
Michael Prokop [Mon, 7 Sep 2009 15:55:42 +0000 (17:55 +0200)]
zshrc: fix description of alias md
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
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>
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.