--- a/.bashrc Thu Oct 27 11:45:03 2011 +0300
+++ b/.bashrc Fri Oct 28 09:29:37 2011 +0300
@@ -17,7 +17,9 @@
PS1='bash# '
# Set magenta bold font.
case "$TERM" in
- xterm*) PS1='\[\033[31m\033[1m\]\h\[\033[35m\]+bash# \[\033[0m\]'
+ xterm*)
+ PS1='\[\033[31m\033[1m\]\h\[\033[35m\]+bash# \[\033[0m\]'
+ PS2='\[\033[32m\]> \[\033[0m\]'
;;
esac
--- a/.zshrc Thu Oct 27 11:45:03 2011 +0300
+++ b/.zshrc Fri Oct 28 09:29:37 2011 +0300
@@ -28,3 +28,12 @@
# Emacs like editing.
bindkey -e
+bindkey "^[[A" history-search-backward
+bindkey "^[[B" history-search-forward
+
+autoload -U compinit
+compinit
+
+# autoload -U promptinit
+# promptinit
+# prompt walters
--- a/LICENSE Thu Oct 27 11:45:03 2011 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,12 +0,0 @@
-All files from gavenkoa-skel project under public domain if this
-term applicable in your national low.
-
-In other cases I allow do anything you want with this files.
-
-NOTE: Some international/national lows preserve some inalienable
-rights for authors like:
-
- * XXX
-
-Be careful!
-
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/LICENSE.rst Fri Oct 28 09:29:37 2011 +0300
@@ -0,0 +1,21 @@
+
+==========================================
+ LICENSE for gavenkoa personal dot-files.
+==========================================
+.. contents::
+
+TERMS of use.
+=============
+
+All files from gavenkoa-skel project under public domain if this
+term applicable in your national low.
+
+In other cases I allow do anything you want with this files.
+
+NOTE: Some international/national lows preserve some inalienable
+rights for authors like:
+
+ * XXX
+
+Be careful!
+
--- a/Makefile Thu Oct 27 11:45:03 2011 +0300
+++ b/Makefile Fri Oct 28 09:29:37 2011 +0300
@@ -10,8 +10,8 @@
# Default target.
.DEFAULT_GOAL = help
-.PHONY: all
-all:
+################################################################
+# Platform definition.
ifeq '' '$(HOME)'
$(error HOME env var not set!)
@@ -19,7 +19,15 @@
host_os = linux
ifneq '' '$(COMSPEC)'
- host_os = windows
+ host_os = cygwin
+endif
+
+################################################################
+# Build tool definition/switches.
+
+RST2HTML = rst2html
+ifeq '$(host_os)' 'cygwin'
+ RST2HTML = rst2html.py
endif
################################################################
@@ -35,6 +43,15 @@
MANUALINSTALL_ITEMS = .mc
IFNONEXIST_ITEMS = .wgetrc .subversion
+RST_FILES = $(wildcard *.rst)
+HTML_FILES = $(RST_FILES:.rst=.html)
+
+################################################################
+# Build targets.
+
+.PHONY: all
+all:
+
################################################################
# Install/uninstall targets.
@@ -72,7 +89,7 @@
done
mkdir -p $(HOME)/.mc
install -m 640 .mc/bashrc $(HOME)/.mc
-ifeq '$(host_os)' 'windows'
+ifeq '$(host_os)' 'cygwin'
install -m 640 .mc/bindings.cygwin $(HOME)/.mc/bindings
else
install -m 640 .mc/bindings $(HOME)/.mc/bindings
@@ -98,10 +115,21 @@
rmdir $(HOME)/.mc || :
################################################################
+# Docs targets.
+
+.PHONY: html
+html: $(HTML_FILES)
+
+# --stylesheet=rst.css
+$(HTML_FILES): %.html: %.rst
+ $(RST2HTML) $*.rst $@
+
+################################################################
# Clean targets.
.PHONY: clean
clean:
+ rm -f $(HTML_FILES)
.PHONY: distclean
distclean: clean
--- a/README Thu Oct 27 11:45:03 2011 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,38 +0,0 @@
-.. -*- mode: rst; coding: utf-8 -*-
-.. rst2html.py README README.html
-
-==============================
- gavenkoa personal dot-files.
-==============================
-.. content::
-
-How install.
-============
-
- $ make install
-
-Tidy.
------
-
-To enable Tidy config set HTML_TIDY env var:
-
- $ cat ~/.bashrc
-...
-HTML_TIDY = ~/.tidy
-
-Structure.
-==========
-
- .mailsign
- signature for mail
- .tidy
- config for Tidy
-
-Tips.
-=====
-
-Cygwin ssh.
------------
-
-To point Cygwin ssh to your $HOME edit /etc/password for your user.
-
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/README.rst Fri Oct 28 09:29:37 2011 +0300
@@ -0,0 +1,39 @@
+.. -*- coding: utf-8 -*-
+.. rst2html.py README README.html
+
+==============================
+ gavenkoa personal dot-files.
+==============================
+.. contents::
+
+How install.
+============
+::
+
+ $ make install
+
+Tidy.
+-----
+
+To enable Tidy config set HTML_TIDY env var::
+
+ $ cat ~/.bashrc
+ ...
+ HTML_TIDY = ~/.tidy
+
+Structure.
+==========
+
+ .mailsign
+ signature for mail
+ .tidy
+ config for Tidy
+
+Tips.
+=====
+
+Cygwin ssh.
+-----------
+
+To point Cygwin ssh to your $HOME edit /etc/password for your user.
+