grml-etc-core.git
14 years agoUpdate date in GRMLZSHRC and add online rule to Makefile v0.3.77
Michael Prokop [Wed, 21 Oct 2009 23:18:31 +0000 (01:18 +0200)]
Update date in GRMLZSHRC and add online rule to Makefile

14 years agoUpdate changelog for release 0.3.77.
Michael Prokop [Wed, 21 Oct 2009 23:04:09 +0000 (01:04 +0200)]
Update changelog for release 0.3.77.

14 years agoAdding changelog entry for the added zshrc manual
Frank Terbeck [Wed, 21 Oct 2009 14:10:33 +0000 (16:10 +0200)]
Adding changelog entry for the added zshrc manual

14 years agogrmlzshrc.t2t: change wording in STATUS section
Frank Terbeck [Wed, 21 Oct 2009 13:40:27 +0000 (15:40 +0200)]
grmlzshrc.t2t: change wording in STATUS section

14 years agogrmlzshrc.t2t: Add some more authors
Frank Terbeck [Fri, 16 Oct 2009 07:14:07 +0000 (09:14 +0200)]
grmlzshrc.t2t: Add some more authors

14 years agogrmlzshrc.t2t: Begin documenting environment variables.
Joerg Woelke [Wed, 7 Oct 2009 12:14:01 +0000 (14:14 +0200)]
grmlzshrc.t2t: Begin documenting environment variables.

Intro, BROWSER, COLORTERM, QTDIR.

14 years agogrmlzshrc.t2t: Document ssl-cert-* functions
Axel Beckert [Mon, 21 Sep 2009 12:12:50 +0000 (14:12 +0200)]
grmlzshrc.t2t: Document ssl-cert-* functions

14 years agogrmlzshrc.t2t: Fix typo.
Joerg Woelke [Sun, 20 Sep 2009 18:30:23 +0000 (20:30 +0200)]
grmlzshrc.t2t: Fix typo.

smart-indent instead of smartindent.

14 years agogrmlzshrc.t2t: Descriptions of functions.
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.

14 years agogrmlzshrc.t2t: Descriptions for functions.
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.

14 years agogrmlzshrc.t2t: Options chapter.
Joerg Woelke [Tue, 8 Sep 2009 14:06:20 +0000 (16:06 +0200)]
grmlzshrc.t2t: Options chapter.

14 years agogrmlzshrc.t2t: Document umask settings.
Joerg Woelke [Mon, 7 Sep 2009 10:41:56 +0000 (12:41 +0200)]
grmlzshrc.t2t: Document umask settings.

14 years agogrmlzshrc.t2t: Some keybindings.
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.

14 years agogrmlzshrc.t2t: Docs for software installing functions.
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.

14 years agogrmlzshrc.t2t: Some descriptions of functions.
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.

14 years agogrmlzshrc.t2t: Document new functions.
Joerg Woelke [Thu, 3 Sep 2009 15:50:41 +0000 (17:50 +0200)]
grmlzshrc.t2t: Document new functions.

855resolution, cdrecord, debian2hd.

14 years agogrmlzshrc.t2t: More docs of some functions.
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.

14 years agogrmlzshrc.t2t: Docs for some functions.
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.

14 years agogrmlzshrc.t2t: Docs for some aliases.
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.

14 years agogrmlzshrc.t2t: Aliases ? and help-zshglob
Maurice McCarthy [Sun, 30 Aug 2009 12:16:56 +0000 (13:16 +0100)]
grmlzshrc.t2t: Aliases ? and help-zshglob

14 years agogrmlzshrc.t2t: Docs for apt related aliases.
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.

14 years agogrmlzshrc.t2t: Some aliases to ls(1).
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.

14 years agogrmlzshrc.t2t: Put alias j back into alphabetic order.
Joerg Woelke [Thu, 27 Aug 2009 14:24:55 +0000 (16:24 +0200)]
grmlzshrc.t2t: Put alias j back into alphabetic order.

14 years agogrmlzshrc.t2t: aliases insecscp and insecssh.
Joerg Woelke [Thu, 27 Aug 2009 14:21:19 +0000 (16:21 +0200)]
grmlzshrc.t2t: aliases insecscp and insecssh.

14 years agogrmlzshrc.t2t: Add documentation about zsh-refcard tags
Frank Terbeck [Wed, 26 Aug 2009 12:14:03 +0000 (14:14 +0200)]
grmlzshrc.t2t: Add documentation about zsh-refcard tags

14 years agogrmlzshrc.t2t: More function docs.
Joerg Woelke [Wed, 26 Aug 2009 11:06:54 +0000 (13:06 +0200)]
grmlzshrc.t2t: More function docs.

fluxkey-change, genthumbs, lcheck, purge, regcheck.

14 years agogrmlzshrc.t2t: Some more docs for functions.
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.

14 years agogrmlzshrc.t2t: Some more descriptions of functions.
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().

14 years agogrmlzshrc.t2t: Add note about --color=auto
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.

14 years agogrmlzshrc.t2t: More descriptions of aliases.
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.

14 years agogrmlzshrc.t2t: Some more descriptions of functions.
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.

14 years agogrmlzshrc.t2t: More descriptions of aliases.
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.

14 years agogrmlzshrc.t2t: Update Authors section to include Joerg
Frank Terbeck [Mon, 17 Aug 2009 19:27:25 +0000 (21:27 +0200)]
grmlzshrc.t2t: Update Authors section to include Joerg

14 years agogrmlzshrc.t2t: Documentation for more functions
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.

14 years agogrmlzshrc.t2t: Add documentation for a number of aliases
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>
14 years agogrmlzshrc.t2t: Update date
Frank Terbeck [Mon, 3 Aug 2009 14:35:48 +0000 (16:35 +0200)]
grmlzshrc.t2t: Update date

14 years agogrmlzshrc.t2t: Start section about keybindings
Frank Terbeck [Mon, 3 Aug 2009 14:18:22 +0000 (16:18 +0200)]
grmlzshrc.t2t: Start section about keybindings

14 years agogrmlzshrc.t2t: Document installation on non-debian systems
Frank Terbeck [Mon, 3 Aug 2009 14:28:52 +0000 (16:28 +0200)]
grmlzshrc.t2t: Document installation on non-debian systems

14 years agogrmlzshrc.t2t: Keep list layout consistent
Frank Terbeck [Mon, 3 Aug 2009 13:49:06 +0000 (15:49 +0200)]
grmlzshrc.t2t: Keep list layout consistent

14 years agogrmlzshrc.t2t: Update aux files section
Frank Terbeck [Mon, 3 Aug 2009 13:46:52 +0000 (15:46 +0200)]
grmlzshrc.t2t: Update aux files section

14 years agogrmlzshrc.t2t: Document persistent history
Frank Terbeck [Mon, 3 Aug 2009 13:46:27 +0000 (15:46 +0200)]
grmlzshrc.t2t: Document persistent history

14 years agogrmlzshrc.t2t: Document screen status setting
Frank Terbeck [Mon, 3 Aug 2009 13:45:51 +0000 (15:45 +0200)]
grmlzshrc.t2t: Document screen status setting

14 years agogrmlzshrc.t2t: Document the accept-line wrapper feature
Frank Terbeck [Mon, 3 Aug 2009 13:08:10 +0000 (15:08 +0200)]
grmlzshrc.t2t: Document the accept-line wrapper feature

14 years agogrmlzshrc.t2t: Add a STATUS section
Frank Terbeck [Mon, 3 Aug 2009 09:49:27 +0000 (11:49 +0200)]
grmlzshrc.t2t: Add a STATUS section

14 years agogrmlzshrc.t2t: Document directory based profiles
Frank Terbeck [Mon, 1 Jun 2009 10:41:39 +0000 (12:41 +0200)]
grmlzshrc.t2t: Document directory based profiles

14 years agogrmlzshrc.t2t: Document persistent dirstack
Frank Terbeck [Mon, 1 Jun 2009 10:41:02 +0000 (12:41 +0200)]
grmlzshrc.t2t: Document persistent dirstack

14 years agot2t-modern.css: Switching default font family
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. :)

14 years agoAdd modern.css from txt2tags as doc/t2t-modern.css
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.

14 years agoAdd a manpage skeleton for grmlzshrc.5 as txt2tags markup
Frank Terbeck [Mon, 3 Aug 2009 09:32:09 +0000 (11:32 +0200)]
Add a manpage skeleton for grmlzshrc.5 as txt2tags markup

14 years agoAdd .gitignore
Frank Terbeck [Sun, 31 May 2009 13:12:56 +0000 (15:12 +0200)]
Add .gitignore

14 years agozshrc: drop aumix call in swspeak()
Michael Prokop [Sat, 17 Oct 2009 19:54:10 +0000 (21:54 +0200)]
zshrc: drop aumix call in swspeak()

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