Commit c17370da authored by Michael Shigorin's avatar Michael Shigorin

dev: add proposed commands to shell history

This has been suggested by Oleg Ivanov: http://lists.altlinux.org/pipermail/antique/2015-May/002353.html ...and does make sense; additions are welcome. Ah, and fix that silly thinko with ~/.zshrc perms while at that.
parent d75db52a
......@@ -52,7 +52,11 @@ fi >&/dev/null
ZSHELL="/bin/zsh"
if [ -x "$ZSHELL" ]; then
chsh -s "$ZSHELL" "$USER"
install -m755 -o "$USER" -g "$USER" /dev/null "$HOME/.zshrc"
install -m644 -o "$USER" -g "$USER" /dev/null "$HOME/.zshrc"
cat >> "$HOME/.zsh_history" <<-EOF
make -C /usr/share/mkimage-profiles syslinux.iso
git clone git://git.altlinux.org/gears/h/hello.git && cd hello && gear-hsh
EOF
fi
if type -t screen; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment