Last active
August 29, 2015 14:02
-
-
Save mv/012e92746547574d7f0d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cat > /etc/skel/.bashrc <<'EOF' | |
# .bashrc | |
[ -f /etc/.env-verbose ] && echo "# Inside ~/.bashrc: [$0]" | |
# Source global definitions | |
if [ -f /etc/bashrc ] | |
then . /etc/bashrc | |
fi | |
# Uncomment the following line if you don't like systemctl's auto-paging feature: | |
export SYSTEMD_PAGER="" | |
# User specific aliases and functions | |
# vim:ft=sh: | |
EOF | |
cat > /root/.bashrc <<'EOF' | |
# .bashrc | |
[ -f /etc/.env-verbose ] && echo "# Inside ~/.bashrc: [$0]" | |
# Source global definitions | |
if [ -f /etc/bashrc ] | |
then . /etc/bashrc | |
fi | |
# Uncomment the following line if you don't like systemctl's auto-paging feature: | |
export SYSTEMD_PAGER="" | |
# User specific aliases and functions | |
# vim:ft=sh: | |
EOF | |
cat > /etc/skel/.bash_profile <<'EOF' | |
# .bash_profile | |
[ -f /etc/.env-verbose ] && echo "# Inside ~/.bash_profile: [$0]" | |
# Get the aliases and functions | |
if [ -f ~/.bashrc ] | |
then . ~/.bashrc | |
fi | |
# User specific environment and startup programs | |
# vim:ft=sh: | |
EOF | |
cat > /root/.bash_profile <<'EOF' | |
# .bash_profile | |
[ -f /etc/.env-verbose ] && echo "# Inside ~/.bash_profile: [$0]" | |
# Get the aliases and functions | |
if [ -f ~/.bashrc ] | |
then . ~/.bashrc | |
fi | |
# User specific environment and startup programs | |
# vim:ft=sh: | |
EOF | |
cat > /etc/skel/.bash_logout <<'EOF' | |
# ~/.bash_logout | |
[ -f /etc/.env-verbose ] && echo "# Inside ~/.bash_logout" | |
# vim:ft=sh: | |
EOF | |
cat > /root/.bash_logout <<'EOF' | |
# ~/.bash_logout | |
[ -f /etc/.env-verbose ] && echo "# Inside ~/.bash_logout" | |
# vim:ft=sh: | |
EOF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment