]> ruderich.org/simon Gitweb - config/dotfiles.git/log
config/dotfiles.git
15 years agoUse setup.sh instead of Makefile for setup process.
Simon Ruderich [Wed, 18 Feb 2009 17:34:22 +0000 (18:34 +0100)]
Use setup.sh instead of Makefile for setup process.

It is much easier to extend in the future.

15 years agoUse setup.sh instead of Makefile.
Simon Ruderich [Wed, 18 Feb 2009 17:21:29 +0000 (18:21 +0100)]
Use setup.sh instead of Makefile.

This was done as shell scripts are far more expandable than Makefiles.

link.sh and m4.sh were converted to functions and stored in lib.sh. The
subdirectories include it and call link() and m4() when necessary.

As the subdirectories also no longer use Makefiles for the setup task, the new
setup.sh scripts calls their setup.sh scripts.

15 years agoAdd better debug output to m4.sh and link.sh.
Simon Ruderich [Wed, 18 Feb 2009 15:56:01 +0000 (16:56 +0100)]
Add better debug output to m4.sh and link.sh.

15 years agoFix typo in m4.sh.
Simon Ruderich [Wed, 18 Feb 2009 15:40:23 +0000 (16:40 +0100)]
Fix typo in m4.sh.

15 years agoAdd setup support.
Simon Ruderich [Tue, 17 Feb 2009 15:18:21 +0000 (16:18 +0100)]
Add setup support.

The Makefile contains a setup target which runs setup in the subdirectories.

15 years agoRename .hgignore to .gitignore as Git is now used.
Simon Ruderich [Tue, 17 Feb 2009 13:46:09 +0000 (14:46 +0100)]
Rename .hgignore to .gitignore as Git is now used.

The change to Git was actually done some time ago with
4c23170a02f7c119715c19ae3293a563f34d9b33. I forgot about this file.

15 years agoAdd first autocmd, for mercurial.
Simon Ruderich [Tue, 17 Feb 2009 13:35:01 +0000 (14:35 +0100)]
Add first autocmd, for mercurial.

They are only used if autocmd is available.

15 years agoOnly use syntax if available.
Simon Ruderich [Tue, 17 Feb 2009 13:14:30 +0000 (14:14 +0100)]
Only use syntax if available.

15 years agoDon't use mkview and loadview; use modelines instead.
Simon Ruderich [Tue, 17 Feb 2009 13:09:22 +0000 (14:09 +0100)]
Don't use mkview and loadview; use modelines instead.

15 years agoFix inserting xa0 on Mac.
Simon Ruderich [Tue, 17 Feb 2009 10:52:01 +0000 (11:52 +0100)]
Fix inserting xa0 on Mac.

This happens sometimes when pressing alt-space on Mac. As the character is not
a space but displayed like one it can cause some problems.

15 years agoHighlight text longer then 78 characters per line.
Simon Ruderich [Tue, 17 Feb 2009 10:50:17 +0000 (11:50 +0100)]
Highlight text longer then 78 characters per line.

Thanks to Tony Mechelynck.

15 years agoAdd move settings for normal mode like in mutt.
Simon Ruderich [Tue, 17 Feb 2009 10:48:12 +0000 (11:48 +0100)]
Add move settings for normal mode like in mutt.

Space moves down a page, - moves up one.

15 years agoUse spaces around = in let.
Simon Ruderich [Tue, 17 Feb 2009 10:47:14 +0000 (11:47 +0100)]
Use spaces around = in let.

15 years agoCreate new section PLUGIN SETTINGS.
Simon Ruderich [Tue, 17 Feb 2009 10:43:08 +0000 (11:43 +0100)]
Create new section PLUGIN SETTINGS.

Move plugin settings there.

15 years agoAdd setup support.
Simon Ruderich [Mon, 16 Feb 2009 23:03:40 +0000 (00:03 +0100)]
Add setup support.

The Makefile contains a setup target which creates all necessary symbolic
links in ~/.

15 years agoImprove Wq and Q fix. Thanks to Tony Mechelynck.
Simon Ruderich [Mon, 16 Feb 2009 22:58:36 +0000 (23:58 +0100)]
Improve Wq and Q fix. Thanks to Tony Mechelynck.

15 years agoAdd setup support.
Simon Ruderich [Mon, 16 Feb 2009 18:37:34 +0000 (19:37 +0100)]
Add setup support.

The Makefile contains a setup target which generates files and creates all
necessary symbolic links in ~/.

15 years agoMerge commit 'rammstein/master'
Simon Ruderich [Mon, 16 Feb 2009 18:34:10 +0000 (19:34 +0100)]
Merge commit 'rammstein/master'

15 years agoAdd zsh logout configuration file.
Simon Ruderich [Mon, 16 Feb 2009 18:32:36 +0000 (19:32 +0100)]
Add zsh logout configuration file.

15 years agoAdd bash login and logout configuration files.
Simon Ruderich [Mon, 16 Feb 2009 18:27:57 +0000 (19:27 +0100)]
Add bash login and logout configuration files.

15 years agoAllow more tabs with -p.
Simon Ruderich [Tue, 3 Feb 2009 14:01:10 +0000 (15:01 +0100)]
Allow more tabs with -p.

15 years agoDon't backspace over edit start. Use virtualedit.
Simon Ruderich [Tue, 3 Feb 2009 13:58:36 +0000 (14:58 +0100)]
Don't backspace over edit start. Use virtualedit.

15 years agoBe Vim 6 compatible.
Simon Ruderich [Tue, 3 Feb 2009 13:37:14 +0000 (14:37 +0100)]
Be Vim 6 compatible.

15 years agoRestructured vimrc and added section names.
Simon Ruderich [Tue, 3 Feb 2009 13:34:51 +0000 (14:34 +0100)]
Restructured vimrc and added section names.

15 years agoDocumentation changes.
Simon Ruderich [Tue, 3 Feb 2009 13:31:12 +0000 (14:31 +0100)]
Documentation changes.

15 years agoUse buffer variables in PHP ftplugin.
Simon Ruderich [Mon, 3 Nov 2008 17:32:36 +0000 (18:32 +0100)]
Use buffer variables in PHP ftplugin.

This prevents cluttering other buffers with variables. Bug introduced in
afdb73b662cf470f3e822620533cb0e599ae8508.

15 years agoDon't use *.local files, use hostname instead.
Simon Ruderich [Mon, 16 Feb 2009 16:42:08 +0000 (17:42 +0100)]
Don't use *.local files, use hostname instead.

This allows the use of the configuration files on every system without
changes.

15 years agoImprove source_config() debug output.
Simon Ruderich [Mon, 16 Feb 2009 16:11:04 +0000 (17:11 +0100)]
Improve source_config() debug output.

Adding "->" makes results (sourcing, neither exists) stand out clearly in the
text and so easy visible.

15 years agoConvert from Mercurial to Git.
Simon Ruderich [Mon, 16 Feb 2009 15:36:02 +0000 (16:36 +0100)]
Convert from Mercurial to Git.

Also rename .hgignore to .gitignore and adapt it.

15 years agoAdd alias for df to use -h.
Simon Ruderich [Sun, 15 Feb 2009 14:36:34 +0000 (15:36 +0100)]
Add alias for df to use -h.

15 years agoDisplay a ! in screen's window name for sudo programs.
Simon Ruderich [Sun, 15 Feb 2009 14:35:45 +0000 (15:35 +0100)]
Display a ! in screen's window name for sudo programs.

15 years agoDon't dump cores in zsh.
Simon Ruderich [Sun, 15 Feb 2009 14:35:29 +0000 (15:35 +0100)]
Don't dump cores in zsh.

They just take up space and take some time. If necessary they can be
activated manually.

15 years agoSimulate hooks using _functions arrays for older versions.
Simon Ruderich [Sun, 8 Feb 2009 15:49:57 +0000 (16:49 +0100)]
Simulate hooks using _functions arrays for older versions.

This allows the usage of add-zsh-hook also for older version.

add-zsh-hook is provided in functions/compatibility and was taken from Zsh
4.3.9.

15 years agoDon't try to autoload directories in ~/.zsh/functions.
Simon Ruderich [Sun, 8 Feb 2009 15:49:47 +0000 (16:49 +0100)]
Don't try to autoload directories in ~/.zsh/functions.

15 years agoMove autoload of add-zsh-hook to "function settings".
Simon Ruderich [Sun, 8 Feb 2009 15:49:35 +0000 (16:49 +0100)]
Move autoload of add-zsh-hook to "function settings".

It fits there better.

15 years agoAdd more debug output.
Simon Ruderich [Sun, 8 Feb 2009 15:48:58 +0000 (16:48 +0100)]
Add more debug output.

Useful when debugging which file gets loaded.

15 years agoNew function source_debug().
Simon Ruderich [Sun, 8 Feb 2009 15:47:29 +0000 (16:47 +0100)]
New function source_debug().

Prints given arguments if $DEBUG is non empty. At the moment only used by
source_config().

15 years agoAutoload custom functions at start of zsh/rc.
Simon Ruderich [Sun, 8 Feb 2009 15:46:48 +0000 (16:46 +0100)]
Autoload custom functions at start of zsh/rc.

Moved to new section "Function settings" at the beginning of rc.

15 years agoMinor documentation update.
Simon Ruderich [Sat, 7 Feb 2009 14:01:35 +0000 (15:01 +0100)]
Minor documentation update.

15 years agoUse completion dumpfile in ~/.zsh/cache.
Simon Ruderich [Fri, 6 Feb 2009 16:22:34 +0000 (17:22 +0100)]
Use completion dumpfile in ~/.zsh/cache.

This reduces cluttering of ~/ with Zsh files.

15 years agoLoad zsh/complist before compinit.
Simon Ruderich [Fri, 6 Feb 2009 16:20:35 +0000 (17:20 +0100)]
Load zsh/complist before compinit.

This allows menu-select to work as mentioned in zshcompsys(1).

15 years agoAutoload functions in ~/.zsh/functions.
Simon Ruderich [Fri, 6 Feb 2009 16:16:19 +0000 (17:16 +0100)]
Autoload functions in ~/.zsh/functions.

Also add extract script to ~/.zsh/functions which extracts many different
archive formats. Thanks to Eric P. Mangold for this great script.

15 years agoIncrease zsh history size to 5000 entries.
Simon Ruderich [Fri, 6 Feb 2009 16:07:32 +0000 (17:07 +0100)]
Increase zsh history size to 5000 entries.

15 years agoDon't use visual bell in screen.
Simon Ruderich [Fri, 6 Feb 2009 16:07:08 +0000 (17:07 +0100)]
Don't use visual bell in screen.

15 years agoUse program name as screen window title when sudo is used.
Simon Ruderich [Fri, 6 Feb 2009 16:06:00 +0000 (17:06 +0100)]
Use program name as screen window title when sudo is used.

15 years agoOnly use vim -p when it's available.
Simon Ruderich [Fri, 6 Feb 2009 16:05:38 +0000 (17:05 +0100)]
Only use vim -p when it's available.

-p is available since Vim 7.

15 years agoFix whitespace problem introduced in last commit.
Simon Ruderich [Fri, 6 Feb 2009 16:05:12 +0000 (17:05 +0100)]
Fix whitespace problem introduced in last commit.

15 years agoOnly use VCS_Info when it's available.
Simon Ruderich [Thu, 5 Feb 2009 13:37:19 +0000 (14:37 +0100)]
Only use VCS_Info when it's available.

It was added in Zsh 4.3.9.

15 years agoDon't display TODOs periodically.
Simon Ruderich [Tue, 27 Jan 2009 17:20:21 +0000 (18:20 +0100)]
Don't display TODOs periodically.

This was just annoying and didn't make me complete them sooner.

15 years agoDisplay expanded shortcut names in screen.
Simon Ruderich [Tue, 27 Jan 2009 17:01:27 +0000 (18:01 +0100)]
Display expanded shortcut names in screen.

15 years agoAdd global shortcut to cd up four directories.
Simon Ruderich [Tue, 27 Jan 2009 16:58:20 +0000 (17:58 +0100)]
Add global shortcut to cd up four directories.

15 years agoAdd more shortcuts for often used applications.
Simon Ruderich [Tue, 27 Jan 2009 16:58:17 +0000 (17:58 +0100)]
Add more shortcuts for often used applications.

15 years agoNew alias wnc which fetches the current clipboard.
Simon Ruderich [Tue, 27 Jan 2009 16:07:15 +0000 (17:07 +0100)]
New alias wnc which fetches the current clipboard.

Provided for darwin (Mac OS X).

15 years agoIncrease screen's scrollback buffer.
Simon Ruderich [Tue, 27 Jan 2009 16:06:22 +0000 (17:06 +0100)]
Increase screen's scrollback buffer.

Very useful when building applications to read the output. 5000 lines was not
enough for me.

15 years agoAdd generate target to Makefile.
Simon Ruderich [Tue, 27 Jan 2009 16:05:31 +0000 (17:05 +0100)]
Add generate target to Makefile.

Used to generate all files which are just provides as template, for example
lesskey.

15 years agoDisplay unambiguous matches with one tab in readline.
Simon Ruderich [Tue, 27 Jan 2009 15:56:21 +0000 (16:56 +0100)]
Display unambiguous matches with one tab in readline.

This is a bit different from show-all-if-ambiguous because
show-all-if-unmodified is used when the strings to complete don't have a
common prefix.

15 years agoUse a local variable in screen_preexec().
Simon Ruderich [Mon, 19 Jan 2009 19:25:21 +0000 (20:25 +0100)]
Use a local variable in screen_preexec().

15 years agoWhen using screen use current command as window name.
Simon Ruderich [Mon, 19 Jan 2009 09:43:27 +0000 (10:43 +0100)]
When using screen use current command as window name.

This makes finding the correct screen window much easier.

Doesn't work with ^Z and fg yet; fg is then displayed as command instead the
real running command.

15 years agoImproved documentation for source_config().
Simon Ruderich [Mon, 12 Jan 2009 16:59:06 +0000 (17:59 +0100)]
Improved documentation for source_config().

15 years agoAlso ignore files on current line when using Git.
Simon Ruderich [Mon, 12 Jan 2009 16:56:46 +0000 (17:56 +0100)]
Also ignore files on current line when using Git.

This makes completing files faster and easier when using a VCS.

15 years agoDisplay current VCS in right prompt.
Simon Ruderich [Mon, 12 Jan 2009 16:56:42 +0000 (17:56 +0100)]
Display current VCS in right prompt.

Used with Git and Mercurial. When in one of these repositories the current
branch and version control system is displayed in the right prompt.

15 years agoAdded section names to zshrc.
Simon Ruderich [Thu, 1 Jan 2009 20:38:54 +0000 (21:38 +0100)]
Added section names to zshrc.

Also moved some things around, no functional changes.

15 years agoMoved loading of add-zsh-hook up.
Simon Ruderich [Thu, 1 Jan 2009 20:38:36 +0000 (21:38 +0100)]
Moved loading of add-zsh-hook up.

So it can be used everywhere.

15 years agoAlso export LANG, has same values as LC_ALL.
Simon Ruderich [Mon, 24 Nov 2008 19:15:29 +0000 (20:15 +0100)]
Also export LANG, has same values as LC_ALL.

15 years agoDisplay todo list every hour.
Simon Ruderich [Mon, 24 Nov 2008 19:15:03 +0000 (20:15 +0100)]
Display todo list every hour.

15 years agoMake sure core dumps are saved.
Simon Ruderich [Mon, 24 Nov 2008 19:11:23 +0000 (20:11 +0100)]
Make sure core dumps are saved.

15 years agoMinor documentation fixes.
Simon Ruderich [Mon, 24 Nov 2008 19:05:14 +0000 (20:05 +0100)]
Minor documentation fixes.

15 years agoUse add-zsh-hook for hook functions.
Simon Ruderich [Sun, 23 Nov 2008 23:55:31 +0000 (00:55 +0100)]
Use add-zsh-hook for hook functions.

This makes adding more hooks simpler.

15 years agoImproved zsh's completion.
Simon Ruderich [Sun, 23 Nov 2008 23:27:51 +0000 (00:27 +0100)]
Improved zsh's completion.

15 years agoAdded useful aliases for zsh.
Simon Ruderich [Tue, 28 Oct 2008 16:12:21 +0000 (17:12 +0100)]
Added useful aliases for zsh.

15 years agoAdded Vim aliases for zsh.
Simon Ruderich [Tue, 28 Oct 2008 16:12:10 +0000 (17:12 +0100)]
Added Vim aliases for zsh.

15 years agoAdded OS specific file for Darwin computers (Mac OS X).
Simon Ruderich [Tue, 28 Oct 2008 13:33:06 +0000 (14:33 +0100)]
Added OS specific file for Darwin computers (Mac OS X).

Store current clipboard in $CLIPBOARD for easy access.

15 years agoAdded colorized prompt for bash.
Simon Ruderich [Tue, 28 Oct 2008 13:30:41 +0000 (14:30 +0100)]
Added colorized prompt for bash.

15 years agoAdded more color options for ls.
Simon Ruderich [Tue, 28 Oct 2008 13:30:06 +0000 (14:30 +0100)]
Added more color options for ls.

15 years agoMoved host specific configuration files to own directory.
Simon Ruderich [Sat, 4 Oct 2008 16:00:27 +0000 (18:00 +0200)]
Moved host specific configuration files to own directory.

This makes sure the directory isn't cluttered when OS specific files are added
in the future.

15 years agoMinor documentation fixes.
Simon Ruderich [Fri, 3 Oct 2008 17:14:40 +0000 (19:14 +0200)]
Minor documentation fixes.

15 years agoUse colorized output with normal ls when GNU ls is not available.
Simon Ruderich [Fri, 3 Oct 2008 16:33:26 +0000 (18:33 +0200)]
Use colorized output with normal ls when GNU ls is not available.

15 years agoDisplay the job count in zsh's prompt.
Simon Ruderich [Fri, 3 Oct 2008 16:32:37 +0000 (18:32 +0200)]
Display the job count in zsh's prompt.

15 years agoAdded env settings for all shells on my local computer.
Simon Ruderich [Thu, 2 Oct 2008 12:23:05 +0000 (14:23 +0200)]
Added env settings for all shells on my local computer.

15 years agoAdded prompt for bash.
Simon Ruderich [Thu, 2 Oct 2008 12:22:06 +0000 (14:22 +0200)]
Added prompt for bash.

15 years agoSimplified loading of config files by using a function.
Simon Ruderich [Thu, 2 Oct 2008 12:19:29 +0000 (14:19 +0200)]
Simplified loading of config files by using a function.

source_config() first tries to load the given file and then if unsuccessful
the .local file for that file.

For more information look at the comments of source_config().

Also added tests for source_config() and Makefile to run them.

15 years agoCheck for new mails every ten seconds.
Simon Ruderich [Wed, 1 Oct 2008 13:20:51 +0000 (15:20 +0200)]
Check for new mails every ten seconds.

15 years agoAutomatically use a screen session or start a new one when using zsh locally.
Simon Ruderich [Wed, 1 Oct 2008 13:17:13 +0000 (15:17 +0200)]
Automatically use a screen session or start a new one when using zsh locally.

15 years agoZsh doesn't quit when <C-d> is pressed.
Simon Ruderich [Sun, 21 Sep 2008 17:11:40 +0000 (19:11 +0200)]
Zsh doesn't quit when <C-d> is pressed.

15 years agoCheck for new mails.
Simon Ruderich [Sun, 21 Sep 2008 16:57:21 +0000 (18:57 +0200)]
Check for new mails.

15 years agoUpdate umask settings in zsh.
Simon Ruderich [Sun, 21 Sep 2008 16:52:12 +0000 (18:52 +0200)]
Update umask settings in zsh.

15 years agoRemoved old unnecessary code.
Simon Ruderich [Sun, 21 Sep 2008 16:39:55 +0000 (18:39 +0200)]
Removed old unnecessary code.

15 years agoSome consistency changes.
Simon Ruderich [Sun, 21 Sep 2008 16:18:09 +0000 (18:18 +0200)]
Some consistency changes.

15 years agoAdded support for colorized completions in zsh.
Simon Ruderich [Sun, 21 Sep 2008 16:17:11 +0000 (18:17 +0200)]
Added support for colorized completions in zsh.

15 years agoAdded configuration file for all shells (in ~/.shell).
Simon Ruderich [Sun, 21 Sep 2008 16:06:25 +0000 (18:06 +0200)]
Added configuration file for all shells (in ~/.shell).

This is then loaded (if available) by bash and zsh to simplify the
configuration. Host specific files are supported.

15 years agoFirst load the bash file for this hostname, then rc.local.
Simon Ruderich [Sun, 21 Sep 2008 15:36:54 +0000 (17:36 +0200)]
First load the bash file for this hostname, then rc.local.

This change is the bash part of 2f24b0aebdd38599256c21b82ee7b39fe5ad0963.

15 years agoUse color.ui which applies to all commands.
Simon Ruderich [Mon, 16 Feb 2009 14:56:35 +0000 (15:56 +0100)]
Use color.ui which applies to all commands.

This colors all output from git commands when used with a terminal.

15 years agoUpdate README for change 856e63f63eb829a53ae5f6f6957d93717a561f86.
Simon Ruderich [Mon, 16 Feb 2009 14:10:40 +0000 (15:10 +0100)]
Update README for change 856e63f63eb829a53ae5f6f6957d93717a561f86.

15 years agoFix minor typo in README.
Simon Ruderich [Mon, 16 Feb 2009 14:09:39 +0000 (15:09 +0100)]
Fix minor typo in README.

15 years agoMake gitconfig system independent by using m4.
Simon Ruderich [Mon, 16 Feb 2009 13:42:57 +0000 (14:42 +0100)]
Make gitconfig system independent by using m4.

This replaces HOME with the current home directory. This was necessary as git
needs an absolute path for excludesfile.

gitconfig.m4 is automatically created when calling `make setup`.

15 years agoAdd m4.sh to process files with m4.
Simon Ruderich [Mon, 16 Feb 2009 13:14:21 +0000 (14:14 +0100)]
Add m4.sh to process files with m4.

The syntax is `m4.sh filename args-to-m4` which processes filename.m4 and
writes it to filename. Additional arguments are passed to m4.

This script differs from just calling m4 that it writes the header "Do not
edit this file" to the generated file to prevent accidental changes.

15 years agoAdd git aliases.
Simon Ruderich [Mon, 16 Feb 2009 10:00:56 +0000 (11:00 +0100)]
Add git aliases.

15 years agoAdd setup support.
Simon Ruderich [Sun, 15 Feb 2009 17:26:53 +0000 (18:26 +0100)]
Add setup support.

The Makefile contains a setup target which creates all necessary symbolic
links in ~/.

15 years agoAdd setup support.
Simon Ruderich [Sun, 15 Feb 2009 17:26:09 +0000 (18:26 +0100)]
Add setup support.

The Makefile contains a setup target which creates all necessary symbolic
links in ~/.

15 years agoAdd .gitignore which ignores log and history files.
Simon Ruderich [Sun, 15 Feb 2009 16:43:51 +0000 (17:43 +0100)]
Add .gitignore which ignores log and history files.