]> git.draconx.ca Git - zshconf.git/blobdiff - zshrc
zshrc: Use a sane date format for ls by default.
[zshconf.git] / zshrc
diff --git a/zshrc b/zshrc
index 899be85ed31a666b1b7009a56509f4bb36a75680..df6b2ad41151758f6ab96b19d8de9bd381a3547e 100644 (file)
--- a/zshrc
+++ b/zshrc
@@ -1,8 +1,17 @@
+# Configuration for interactive shells.
+#
+# Copyright (C) 2009 Nick Bowler
+#
+# Copying and distribution of this file, with or without modification,
+# are permitted in any medium without royalty provided the copyright
+# notice and this notice are preserved.  This file is offered as-is,
+# without any warranty.
+
 if [[ -n $HOME ]]; then
        HISTFILE=$HOME/.zsh_history
-       SAVEHIST=1000
+       SAVEHIST=10000
 fi
-HISTSIZE=1000
+HISTSIZE=10000
 
 bindkey -e
 
@@ -29,6 +38,11 @@ xterm)
        bindkey '\eOH'  beginning-of-line
        bindkey '\eOF'  end-of-line
 ;;
+cons25)
+       bindkey '^?'    delete-char
+       bindkey '\e[F'  end-of-line
+       bindkey '\e[H'  beginning-of-line
+;;
 esac
 
 # Set the xterm title
@@ -76,8 +90,8 @@ fi
 export LANG=en_CA.UTF-8
 export LC_COLLATE=ja_JP.UTF-8
 
-# I like colours
-alias ls='ls --color=auto'
+# Default options for various utilities.
+alias ls='ls --time-style=long-iso --color=auto'
 alias grep='grep --color=auto'
 
 # I hate mistakes