summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2014-11-18 14:09:18 +0100
committerTobias Klauser <tklauser@distanz.ch>2014-11-18 14:09:18 +0100
commit034e6a569b7d0db93fad25a47cd3083d56a740bd (patch)
tree19a461f4f0f6e49e27697a5024039efd8628f30e
parent0a841d22f3e031f18c98db7c1cfe4050497ebc89 (diff)
zshrc: aliases: Show history timestamps
-rw-r--r--.zsh/zshrc/30_aliases5
1 files changed, 4 insertions, 1 deletions
diff --git a/.zsh/zshrc/30_aliases b/.zsh/zshrc/30_aliases
index 4776a53..02d8770 100644
--- a/.zsh/zshrc/30_aliases
+++ b/.zsh/zshrc/30_aliases
@@ -2,7 +2,7 @@
#
# Define command aliases
#
-# Copyright © 2010, 2013 Tobias Klauser <tklauser@distanz.ch>
+# Copyright © 2010, 2013, 2014 Tobias Klauser <tklauser@distanz.ch>
# Released under the terms of the Artistic Licence 2.0
#
# Source repository: git://git.distanz.ch/dotfiles/zsh.git
@@ -21,6 +21,9 @@ alias grep='grep --color=auto'
alias m='mount'
alias u='umount'
+# show history with timestamps (taken from oh-my-zsh)
+alias history='fc -El 1'
+
# enable color support of ls
if [ "${TERM}" != "dumb" ] ; then
is_darwin || alias ls='ls --color=auto'