projects
/
grml-etc-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
11125ca
)
added alias "$(uname -r)-reboot for fast rebooting via kexec
author
Michael Prokop
<mika@grml.org>
Sun, 1 Jul 2007 23:22:13 +0000
(
01:22
+0200)
committer
Michael Prokop
<mika@grml.org>
Sun, 1 Jul 2007 23:22:13 +0000
(
01:22
+0200)
debian/changelog
patch
|
blob
|
history
etc/zsh/zshrc
patch
|
blob
|
history
diff --git
a/debian/changelog
b/debian/changelog
index
9dba0dd
..
c775962
100644
(file)
--- a/
debian/changelog
+++ b/
debian/changelog
@@
-4,6
+4,7
@@
grml-etc-core (0.3.13) unstable; urgency=low
- aoeu(): do not use $XKEYBOARD and $KEYTABLE as booting
with bootoption dvorak might be not so amusing for people
not being used to dvorak keyboard layout :)
- aoeu(): do not use $XKEYBOARD and $KEYTABLE as booting
with bootoption dvorak might be not so amusing for people
not being used to dvorak keyboard layout :)
+ - added alias "$(uname -r)-reboot for fast rebooting via kexec
-- Michael Prokop <mika@grml.org> Sun, 01 Jul 2007 23:05:58 +0200
-- Michael Prokop <mika@grml.org> Sun, 01 Jul 2007 23:05:58 +0200
diff --git
a/etc/zsh/zshrc
b/etc/zsh/zshrc
index
032704d
..
c05bc6c
100644
(file)
--- a/
etc/zsh/zshrc
+++ b/
etc/zsh/zshrc
@@
-789,6
+789,11
@@
${BLUE}%n${NO_COLOUR}@%m %40<...<%B%~%b%<< %# "
alias mdstat='cat /proc/mdstat'
alias ...='cd ../../'
alias mdstat='cat /proc/mdstat'
alias ...='cd ../../'
+ # generate alias named "$KERNELVERSION-reboot" so you can use boot with kexec:
+ if [ -x /sbin/kexec ] ; then
+ alias "$(uname -r)-reboot"="kexec -l --initrd=/boot/initrd.img-"$(uname -r)" --command-line=\"$(cat /proc/cmdline)\" /boot/vmlinuz-"$(uname -r)""
+ fi
+
alias cp='nocorrect cp' # no spelling correction on cp
alias mkdir='nocorrect mkdir' # no spelling correction on mkdir
alias mv='nocorrect mv' # no spelling correction on mv
alias cp='nocorrect cp' # no spelling correction on cp
alias mkdir='nocorrect mkdir' # no spelling correction on mkdir
alias mv='nocorrect mv' # no spelling correction on mv