-Gentoo Base System release 2.2
+Gentoo Base System release 2.3
# The readline entry to make this skip back a word will then be:
# "\e[1;3D" backward-word
#
+# Customization note:
+# You don't need to put all your changes in this file. You can create
+# ~/.inputrc which starts off with the line:
+# $include /etc/inputrc
+# Then put all your own stuff after that.
+#
# do not bell on tab-completion
#set bell-style none
"\e[1;3C": forward-word
"\e[1;3D": backward-word
+# Chromebooks remap alt + backspace so provide alternative (alt + k)
+"\ek": backward-kill-word
+
$if term=rxvt
"\e[8~": end-of-line
$endif
ID=gentoo
PRETTY_NAME="Gentoo/Linux"
ANSI_COLOR="1;32"
-HOME_URL="http://www.gentoo.org/"
-SUPPORT_URL="http://www.gentoo.org/main/en/support.xml"
+HOME_URL="https://www.gentoo.org/"
+SUPPORT_URL="https://www.gentoo.org/support/"
BUG_REPORT_URL="https://bugs.gentoo.org/"
# There's no real reason to exclude sbin paths from the normal user,
# but it can make tab-completion easier when they aren't in the
# user's PATH to pollute the executable namespace.
-#
-# It is intentional in the following line to use || instead of -o.
-# This way the evaluation can be short-circuited and calling whoami is
-# avoided.
-if [ "$EUID" = "0" ] || [ "$USER" = "root" ] ; then
- PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:${ROOTPATH}"
+if [ "${EUID-}" = "0" ] || [ "${USER-}" = "root" ] ; then
+ PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin${ROOTPATH:+:}${ROOTPATH-}"
else
- PATH="/usr/local/bin:/usr/bin:/bin:${PATH}"
+ PATH="/usr/local/bin:/usr/bin:/bin${PATH:+:}${PATH-}"
fi
export PATH
unset ROOTPATH
-if [ -n "${BASH_VERSION}" ] ; then
+if [ -n "${BASH_VERSION-}" ] ; then
# Newer bash ebuilds include /etc/bash/bashrc which will setup PS1
# including color. We leave out color here because not all
# terminals support it.
# /etc/shells: valid login shells
/bin/bash
/bin/csh
+/bin/dash
/bin/esh
/bin/fish
/bin/ksh
# Disable ECN
#net.ipv4.tcp_ecn = 0
# Enables source route verification
-net.ipv4.conf.default.rp_filter = 1
+#net.ipv4.conf.default.rp_filter = 1
# Enable reverse path
-net.ipv4.conf.all.rp_filter = 1
+#net.ipv4.conf.all.rp_filter = 1
# Enable SYN cookies (yum!)
# http://cr.yp.to/syncookies.html
#net.ipv4.tcp_syncookies = 1
+# Enable people in the specified (min, max) group range to send ICMP_ECHO
+# messages (i.e. ping) and receive ICMP_ECHOREPLY responses. This allows
+# you to run non-suid and non-caps `ping`, but it also means anyone with
+# a gid in this range can send those packets (not just via `ping`).
+#net.ipv4.ping_group_range = 100 100
+
# Disable source route
#net.ipv4.conf.all.accept_source_route = 0
#net.ipv4.conf.default.accept_source_route = 0