Michael Prokop [Thu, 17 Jul 2008 19:30:32 +0000 (21:30 +0200)]
zshrc: Fix wrong placed comments for debbug vs. debbugm
Frank Terbeck [Fri, 30 May 2008 12:59:34 +0000 (14:59 +0200)]
Make abbreviation optional
The ',.' global abbreviation replacement feature is meant.
It is still on by default, but can be disabled by default by setting
$NOABBREVIATION to something greater than zero in .zshenv; or temporarily by
hitting '^xA', which switches it off (another '^xA' will reenable it - that
way, we can still get it back on, if disabled by $NOABBREVIATION).
Note: Turning off abbreviation effectively disables the feature. The binding
to ',.' still remains, though. Therefore, entering a comma (,) will
still take a few moments (because zsh is waiting for a possible ',.').
If you cannot be bothered to wait that long, quickly hit CTRL-V before
hitting the comma key.
I briefly looked for a better binding for the feature; but most (all?)
of the easy-to-remember ones (like ALT-a, ALT-, or ALT-.) where already
taken. Others didn't produce a useful character sequence on my keyboard
(like CTRL-, or CTRL.); and I don't want '^xA' for it, because that
takes four(!) key presses.
If someone has a better solution, please say so!
Michael Prokop [Mon, 19 May 2008 22:25:05 +0000 (00:25 +0200)]
Add new function ansi-colors()
Michael Prokop [Sat, 17 May 2008 20:59:37 +0000 (22:59 +0200)]
Drop $ALREADY_SOURCED_ZSHENV
Michael Prokop [Sat, 17 May 2008 20:53:46 +0000 (22:53 +0200)]
Add support for ${HOME}/.zshenv; set $PATH on Solaris/SunOS
Frank Terbeck [Wed, 26 Mar 2008 19:21:48 +0000 (20:21 +0100)]
Adding print -l ${(u)foobar} workaround for pre-4.2.0 shells
This also enabled the dirstack magic for such shells again.
Also, this patch only sets defaults for DIRSTACKSIZE and introduces
a new variable DIRSTACKFILE (which defaults to ~/.zdirs). That way
you may change these defaults in your .zshenv for example.
Frank Terbeck [Wed, 26 Mar 2008 19:21:26 +0000 (20:21 +0100)]
Move version and system checking functions up in the file
I will need at least one of these earlier in the file and I do not see
why not to define these almost as early as possible.
Frank Terbeck [Wed, 26 Mar 2008 10:06:50 +0000 (11:06 +0100)]
Disable persistent dirstack for shells older then 4.2.0
We use the (u) flag when saving, which is not available in these older
versions of zsh. We do not intent to keep this disabled forever; just
until we got a properly working solution for older shells.
Michael Prokop [Fri, 21 Mar 2008 23:45:41 +0000 (00:45 +0100)]
Added tag 0.3.50 for changeset
8e6a786b18d0
Michael Prokop [Fri, 21 Mar 2008 23:43:50 +0000 (00:43 +0100)]
zshenv: extend and update $ADDONS handling
Frank Terbeck [Thu, 20 Mar 2008 19:34:58 +0000 (20:34 +0100)]
Add proper bindings for history-beginning-search-{forward,backward}
Michael Prokop [Sat, 8 Mar 2008 13:14:23 +0000 (14:14 +0100)]
zshrc: update function git-get-plaindiff()
Michael Prokop [Wed, 13 Feb 2008 18:22:10 +0000 (19:22 +0100)]
Added tag 0.3.49 for changeset
ca91a3ad2651
Michael Prokop [Wed, 13 Feb 2008 18:21:10 +0000 (19:21 +0100)]
Update changelog
Frank Terbeck [Wed, 13 Feb 2008 18:19:24 +0000 (19:19 +0100)]
zshrc: Keeping check_com() defined after zshrcs are sourced
That way, everything in our zshrc can use that function.
...like dchange() already does, which I must have overseen.
Michael Prokop [Mon, 11 Feb 2008 17:02:29 +0000 (18:02 +0100)]
Added tag 0.3.48 for changeset
e0c83bc3ca9e
Michael Prokop [Mon, 11 Feb 2008 17:01:34 +0000 (18:01 +0100)]
Merge branches
Michael Prokop [Mon, 11 Feb 2008 17:01:19 +0000 (18:01 +0100)]
zshrc: use sudo su for alias su
Frank Terbeck [Sat, 2 Feb 2008 09:52:40 +0000 (10:52 +0100)]
zshrc: autoloading is-at-least again
is-at-least() can be used for precise version checks (as opposed to our
broad is4(), is4{1,2,3}() functions - which are a lot simpler).
Note that this test will *always* fail, if the is-at-least function could
not be marked for autoloading.
Frank Terbeck [Sat, 2 Feb 2008 09:41:09 +0000 (10:41 +0100)]
zshrc: using FOO=${FOO:-default} instead of (( ${+FOO} )) || FOO=default
This is more correct, IMHO.
The old way only sets the default if $FOO is unset; whereas the new way
sets the default if $FOO is unset *or* empty (which is certainly desirable,
if you think of variables like $PAGER).
Michael Prokop [Fri, 1 Feb 2008 01:53:24 +0000 (02:53 +0100)]
zshrc: setopt longlistjobs
Frank Terbeck [Fri, 1 Feb 2008 01:13:09 +0000 (02:13 +0100)]
zshrc: add a check for ZSH_VERSION >= 3.1.7
See <http://bts.grml.org/grml/issue389>.
This commit quietly sets the required version of zsh to 3.1.7.
If that test fails, we complain loudly.
Frank Terbeck [Fri, 1 Feb 2008 01:07:54 +0000 (02:07 +0100)]
zshrc: introduce zrcautoload()
Taken from <http://ft.bewatermyfriend.org/comp/zsh/zshrc.real.html>.
Stripped down for our purposes.
Frank Terbeck [Fri, 1 Feb 2008 00:28:59 +0000 (01:28 +0100)]
zshrc: Don't use is-at-least anymore
While this can be a useful function, it really is a little overkill
for out purposes; especially, since we provide much simpler fallback
functions, when it is not available.
added is43() as well, which is currently not used, but probably should. :-)
Frank Terbeck [Thu, 31 Jan 2008 19:28:54 +0000 (20:28 +0100)]
zshrc: fix breakage, which was revealed by a zsh v3.1.7 testrun
With these changes, implementing issue389 actually make sense.
Frank Terbeck [Thu, 31 Jan 2008 09:47:47 +0000 (10:47 +0100)]
Forgot [Closes: ...] in changelog update...
I should *think* before committing.
Frank Terbeck [Thu, 31 Jan 2008 09:45:56 +0000 (10:45 +0100)]
Updating debian/changelog
Alexander 'z3ttacht' Steinböck [Sun, 27 Jan 2008 15:48:21 +0000 (16:48 +0100)]
whatwhen() -- Get what you did when from the history.
e.g. % whatwhen grml
6682 2008-01-27 16:44 vim etc/grml/screenrc
6683 2008-01-27 16:45 screen -c etc/grml/screenrc
Frank Terbeck [Wed, 30 Jan 2008 20:20:35 +0000 (21:20 +0100)]
Updating debian/changelog
Alexander 'z3ttacht' Steinböck [Sun, 27 Jan 2008 11:39:40 +0000 (12:39 +0100)]
etc/zsh/zshrc: changed `most' for $PAGER in dchange(), uchange(), dnews.
Furthermore `export PAGER' was moved from etc/skel/.zshrc to
etc/zsh/zshrc, since the afore-mentioned functions reside in that
file as well.
Michael Prokop [Sun, 20 Jan 2008 00:48:34 +0000 (01:48 +0100)]
Frank Terbeck [Sun, 20 Jan 2008 00:33:40 +0000 (01:33 +0100)]
missed -l for print in chdir()... I need sleep.
Frank Terbeck [Sun, 20 Jan 2008 00:31:15 +0000 (01:31 +0100)]
zshrc: prevent chdir() from putting dupes into ~/.zdirs
dirs -pl did print the complete stack, including dupes.
Using ${dirstack} from the zsh/pararmeter module to fix this.
Michael Prokop [Sat, 19 Jan 2008 23:36:16 +0000 (00:36 +0100)]
Frank Terbeck [Sat, 19 Jan 2008 21:26:37 +0000 (22:26 +0100)]
zshrc: fixed some refcard-generating tags, that where positioned incorrectly.
Frank Terbeck [Fri, 18 Jan 2008 20:47:39 +0000 (21:47 +0100)]
updating debian/changelog
Frank Terbeck [Fri, 18 Jan 2008 20:28:12 +0000 (21:28 +0100)]
vimrc: display the file, that is being edited into screen's hardstatus
Michael Prokop [Wed, 16 Jan 2008 12:40:38 +0000 (13:40 +0100)]
zshrc: set $NAME in screen title only if $HOSTNAME is set
Michael Prokop [Thu, 10 Jan 2008 23:56:50 +0000 (00:56 +0100)]
update weather() zsh function
Frank Terbeck [Sat, 29 Dec 2007 11:29:49 +0000 (12:29 +0100)]
updating debian/changelog
Frank Terbeck [Sat, 29 Dec 2007 11:24:49 +0000 (12:24 +0100)]
zshrc: Removing folsym()
...which was not exactly beautiful.
Just use ssl(), it does the same but looks clean.
Added copyright notice to the accept-line wrapper, because our zshrc
is GPL'd and the accept-line wrapper code is not.
Frank Terbeck [Wed, 26 Dec 2007 19:18:26 +0000 (20:18 +0100)]
Removing the (commented out) my_accept() widget from zshrc
It's obsoleted by the just-added generic accept-line wrapper.
Michael Prokop [Wed, 26 Dec 2007 17:37:42 +0000 (18:37 +0100)]
Apply patches from ft and update changelog
Frank Terbeck [Wed, 26 Dec 2007 11:43:57 +0000 (12:43 +0100)]
Adding a generic accept-line wrapper
See
<http://bewatermyfriend.org/posts/2007/12-26.11-50-38-tooltime.html>
for details.
Frank Terbeck [Sat, 22 Dec 2007 06:35:22 +0000 (07:35 +0100)]
zshrc: make grmlcomp() readable (':nmap b v$hdO<ESC>pj$' - vim is so useful)
Frank Terbeck [Sat, 22 Dec 2007 06:13:55 +0000 (07:13 +0100)]
zshrc: convert swspeak from alias to function
Michael Prokop [Mon, 24 Dec 2007 20:42:11 +0000 (21:42 +0100)]
Michael Prokop [Mon, 24 Dec 2007 20:10:57 +0000 (21:10 +0100)]
Update vimrc: drop the p vmap
Michael Prokop [Sat, 22 Dec 2007 18:20:06 +0000 (19:20 +0100)]
Disable keybindings of issue350 by default and move to another place
Michael Prokop [Fri, 21 Dec 2007 23:15:31 +0000 (00:15 +0100)]
Apply second patch from issue350
Michael Prokop [Fri, 21 Dec 2007 23:12:12 +0000 (00:12 +0100)]
Apply patch from issue350
Michael Prokop [Fri, 21 Dec 2007 19:55:25 +0000 (20:55 +0100)]
Michael Prokop [Fri, 21 Dec 2007 19:54:56 +0000 (20:54 +0100)]
update changelog
Frank Terbeck [Thu, 20 Dec 2007 21:21:36 +0000 (22:21 +0100)]
zshrc: $reswords is an array *not* a hash...
Michael Prokop [Sun, 16 Dec 2007 20:28:03 +0000 (21:28 +0100)]
Michael Prokop [Sun, 16 Dec 2007 19:34:40 +0000 (20:34 +0100)]
/etc/zsh/zshrc: change logic of $HOSTNAME in preexec()
Michael Prokop [Sun, 16 Dec 2007 17:13:52 +0000 (18:13 +0100)]
Michael Prokop [Tue, 11 Dec 2007 18:45:38 +0000 (19:45 +0100)]
Bumb version number
Michael Prokop [Tue, 11 Dec 2007 18:44:57 +0000 (19:44 +0100)]
Update changelog for "Disable command-completion descriptions"
Frank Terbeck [Tue, 11 Dec 2007 18:40:56 +0000 (19:40 +0100)]
Disable command-completion descriptions
Michael Prokop [Sun, 9 Dec 2007 22:02:54 +0000 (23:02 +0100)]
Michael Prokop [Sun, 9 Dec 2007 22:01:26 +0000 (23:01 +0100)]
Update debbug()
Michael Prokop [Sun, 9 Dec 2007 21:58:37 +0000 (22:58 +0100)]
extend debbug() based on xana.scru.org/quanks/b-func.html
Michael Prokop [Fri, 7 Dec 2007 21:56:56 +0000 (22:56 +0100)]
Apply patches regarding zsh sourcing by ft
* Fix the 'xsource' issue
* Only read .zshrc.global if $ZSHRC_GLOBAL_HAS_BEEN_READ is not set yet
Michael Prokop [Thu, 6 Dec 2007 22:28:05 +0000 (23:28 +0100)]
Adjust xsource function in skeleton file
Michael Prokop [Thu, 6 Dec 2007 22:25:11 +0000 (23:25 +0100)]
Update changelog
Michael Prokop [Thu, 6 Dec 2007 22:22:47 +0000 (23:22 +0100)]
zsh: Make sure xsource works in any case; add modelines for vim
Michael Prokop [Thu, 6 Dec 2007 22:16:36 +0000 (23:16 +0100)]
Applied patch bomb for unified indenting, thanks ft
Michael Prokop [Tue, 4 Dec 2007 18:06:09 +0000 (19:06 +0100)]
Revert the b0rken type change for zsh
Michael Prokop [Tue, 4 Dec 2007 17:26:43 +0000 (18:26 +0100)]
Applied patch by ft and updated changelog
Michael Prokop [Mon, 3 Dec 2007 22:00:48 +0000 (23:00 +0100)]
Apply patch by z3ttacht regarding issue354
Michael Prokop [Mon, 3 Dec 2007 21:18:53 +0000 (22:18 +0100)]
zsh: replace $(which ...) with $(type ...)
Michael Prokop [Sun, 2 Dec 2007 18:55:03 +0000 (19:55 +0100)]
/etc/skel/.zshrc: add alias 'g' for git
Michael Prokop [Thu, 22 Nov 2007 10:17:14 +0000 (11:17 +0100)]
Michael Prokop [Thu, 22 Nov 2007 10:16:43 +0000 (11:16 +0100)]
zshrc: add (deactivated) MANWIDTH=80; fix colorschema in screenrc
Michael Prokop [Mon, 5 Nov 2007 11:21:38 +0000 (12:21 +0100)]
Michael Prokop [Mon, 5 Nov 2007 11:21:16 +0000 (12:21 +0100)]
Move vim vs. vi from /etc/skel/.zshrc.grmlsmall to /etc/zsh/zshrc
Michael Prokop [Wed, 24 Oct 2007 07:52:36 +0000 (09:52 +0200)]
Michael Prokop [Wed, 24 Oct 2007 07:48:17 +0000 (09:48 +0200)]
Restore some RC_* variables
Michael Prokop [Wed, 24 Oct 2007 07:37:01 +0000 (09:37 +0200)]
Provide e* functions in /etc/grml/lsb-functions again
Michael Prokop [Tue, 23 Oct 2007 18:09:10 +0000 (20:09 +0200)]
Michael Prokop [Tue, 23 Oct 2007 18:08:33 +0000 (20:08 +0200)]
Update changelog
Frank Terbeck [Tue, 23 Oct 2007 15:22:52 +0000 (17:22 +0200)]
Make eerror() use '>&2' instead of '>/dev/stderr'
Frank Terbeck [Tue, 23 Oct 2007 15:05:51 +0000 (17:05 +0200)]
Moving e*() functions grml/lsb-functions to grml/script-functions
This is part of resolving #291.
Note, that this commit will break everything that uses said functions,
while only sourcing 'lsb-functions'. Sourcing 'script-functions' as
well should fix such problems.
Michael Prokop [Mon, 22 Oct 2007 17:39:07 +0000 (19:39 +0200)]
Michael Prokop [Mon, 22 Oct 2007 14:49:26 +0000 (16:49 +0200)]
Update changelog
Frank Terbeck [Mon, 22 Oct 2007 14:44:55 +0000 (16:44 +0200)]
zshrc: not using 'for name0 name1 in a b c d ; ...' anymore
Replacing that contruct with something, that does not break older zshs.
Michael Prokop [Mon, 22 Oct 2007 08:18:50 +0000 (10:18 +0200)]
/etc/zsh/zshrc: enable transient_rprompt only for zsh >= 4.1
Michael Prokop [Thu, 18 Oct 2007 08:28:12 +0000 (10:28 +0200)]
Michael Prokop [Thu, 18 Oct 2007 08:24:19 +0000 (10:24 +0200)]
/etc/zsh/zshrc: support displaying version control information inside prompt
Michael Prokop [Sun, 14 Oct 2007 09:50:51 +0000 (11:50 +0200)]
Michael Prokop [Sun, 14 Oct 2007 09:50:25 +0000 (11:50 +0200)]
/etc/apt/grml/listbugs: support non-apt-show-versions
Michael Prokop [Sat, 13 Oct 2007 23:01:44 +0000 (01:01 +0200)]
Michael Prokop [Sat, 13 Oct 2007 23:01:10 +0000 (01:01 +0200)]
Rename /etc/apt/listbugs into /etc/apt/grml/listbugs
Michael Prokop [Sat, 13 Oct 2007 22:24:04 +0000 (00:24 +0200)]
Michael Prokop [Sat, 13 Oct 2007 22:23:18 +0000 (00:23 +0200)]
Add /etc/apt/listbugs
Michael Prokop [Sat, 6 Oct 2007 11:13:21 +0000 (13:13 +0200)]
Michael Prokop [Fri, 5 Oct 2007 16:57:54 +0000 (18:57 +0200)]
wodeb(): update URL
Michael Prokop [Fri, 5 Oct 2007 16:46:52 +0000 (18:46 +0200)]
getskype(): make it compatible with final skype 1.4 version
Michael Gebetsroither [Fri, 5 Oct 2007 00:47:35 +0000 (02:47 +0200)]
/etc/zsh/zshrc: added bk() to backup a file with iso time tagged