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.
This commit is contained in:
parent
d75db52aa0
commit
c17370daa0
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user