X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=etc%2Fzsh%2Fzshrc;h=60623f84be84aeb0e8102dbcf86e70e8faa9d8f8;hb=77190bf26c5ea55cfc3d4f7da080806cf022e70d;hp=038ab43576a9baf1057ddd46424d424bb13b7be5;hpb=bd241715e6d04937428a38a8a4002f3010f7279b;p=grml-etc-core.git diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index 038ab43..60623f8 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -406,7 +406,7 @@ fi # press "ctrl-e d" to insert the actual date in the form yyyy-mm-dd _bkdate() { BUFFER="$BUFFER$(date '+%F')"; CURSOR=$#BUFFER; } #k# Insert a timestamp on the commandline (yyyy-mm-dd) - bindkey '\C-ed' _bkdate + bindkey '^Ed' _bkdate zle -N _bkdate # press esc-m for inserting last typed word again (thanks to caphuso!) @@ -864,7 +864,7 @@ Enjoy your grml system with the zsh!$reset_color" } isgrmlcd && alias su="sudo -s" # get a root shell - #a1# Take a look at the syslog: \kbd{$PAGER /var/log/syslog} + #a1# Take a look at the syslog: \kbd{\$PAGER /var/log/syslog} alias llog="$PAGER /var/log/syslog" # take a look at the syslog #a1# Take a look at the syslog: \kbd{tail -f /var/log/syslog} alias tlog="tail -f /var/log/syslog" # follow the syslog