Use less as pager
This commit is contained in:
parent
810f4cc385
commit
48aadc4c0a
1 changed files with 4 additions and 1 deletions
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
# Debian containers only
|
||||
# ca-certificates needed in order to clone from github
|
||||
PACKAGES="ca-certificates vim git dbus "
|
||||
PACKAGES="ca-certificates vim git dbus less "
|
||||
REPO=https://github.com/SonnyBA/dotfiles.git
|
||||
|
||||
if [ $EUID != 0 ]; then
|
||||
|
|
@ -92,6 +92,9 @@ EOF
|
|||
sed -i 's/^ *//g' /home/$SUDO_USER/.ssh/config
|
||||
fi
|
||||
|
||||
echo "Updating default pager to less"
|
||||
update-alternatives --set pager /bin/less
|
||||
|
||||
echo "Enter root pass"
|
||||
run passwd
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue