From 034e6a569b7d0db93fad25a47cd3083d56a740bd Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Tue, 18 Nov 2014 14:09:18 +0100 Subject: zshrc: aliases: Show history timestamps --- .zsh/zshrc/30_aliases | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to '.zsh/zshrc/30_aliases') 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 +# Copyright © 2010, 2013, 2014 Tobias Klauser # 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' -- cgit v1.2.3-54-g00ecf