2011-09-23 16:21:36 +02:00
|
|
|
# /etc/bashrc: DO NOT EDIT -- this file has been generated automatically.
|
|
|
|
|
2012-03-19 03:35:17 +01:00
|
|
|
# This file is read for interactive non-login shells.
|
|
|
|
|
|
|
|
# Only execute this file once per shell.
|
|
|
|
if [ -n "$__ETC_BASHRC_SOURCED" -o -n "$NOSYSBASHRC" ]; then return; fi
|
|
|
|
__ETC_BASHRC_SOURCED=1
|
|
|
|
|
|
|
|
# If the profile was not loaded in a parent process, source it. But
|
|
|
|
# otherwise don't do it because we don't want to clobber overriden
|
|
|
|
# values of $PATH, etc.
|
|
|
|
if [ -z "$__ETC_PROFILE_DONE" ]; then
|
|
|
|
. /etc/profile
|
2009-05-29 00:02:47 +02:00
|
|
|
fi
|
2009-06-26 13:36:38 +02:00
|
|
|
|
2012-03-19 03:35:17 +01:00
|
|
|
# We are not always an interactive shell.
|
|
|
|
if [ -z "$PS1" ]; then return; fi
|
2011-09-23 16:21:36 +02:00
|
|
|
|
2012-03-19 03:35:17 +01:00
|
|
|
# Check the window size after every command.
|
|
|
|
shopt -s checkwinsize
|
2011-08-06 20:55:00 +02:00
|
|
|
|
2012-10-30 13:33:37 +01:00
|
|
|
@promptInit@
|
2012-10-16 18:23:28 +02:00
|
|
|
@initBashCompletion@
|
2012-03-19 03:35:17 +01:00
|
|
|
|
|
|
|
# Some aliases.
|
|
|
|
alias ls="ls --color=tty"
|
|
|
|
alias ll="ls -l"
|
|
|
|
alias l="ls -alh"
|
|
|
|
alias which="type -P"
|
2012-10-11 22:18:34 +02:00
|
|
|
|
|
|
|
# Convenience for people used to Upstart.
|
2012-08-14 23:22:04 +02:00
|
|
|
alias start="systemctl start"
|
|
|
|
alias stop="systemctl stop"
|
2012-10-11 22:18:34 +02:00
|
|
|
alias restart="systemctl restart"
|
2012-08-14 23:22:04 +02:00
|
|
|
alias status="systemctl status"
|