Line | |
---|
1 | # Bash initialization for interactive non-login shells and
|
---|
2 | # for remote shells (info "(bash) Bash Startup Files").
|
---|
3 |
|
---|
4 | # Export 'SHELL' to child processes. Programs such as 'screen'
|
---|
5 | # honor it and otherwise use /bin/sh.
|
---|
6 | export SHELL
|
---|
7 |
|
---|
8 | export GUIX_PACKAGE_PATH=$HOME/.guix-packages
|
---|
9 | export GUIX_EXTRA_PROFILES=$HOME/.guix-extra-profiles
|
---|
10 |
|
---|
11 | if [[ $- != *i* ]]
|
---|
12 | then
|
---|
13 | # We are being invoked from a non-interactive shell. If this
|
---|
14 | # is an SSH session (as in "ssh host command"), source
|
---|
15 | # /etc/profile so we get PATH and other essential variables.
|
---|
16 | [[ -n "$SSH_CLIENT" ]] && source /etc/profile
|
---|
17 |
|
---|
18 | # Don't do anything else.
|
---|
19 | return
|
---|
20 | fi
|
---|
21 |
|
---|
22 | # Source the system-wide file.
|
---|
23 | [ -f /etc/bashrc ] && source /etc/bashrc
|
---|
24 |
|
---|
25 | alias ls='ls -p --color=auto'
|
---|
26 | alias ll='ls -l'
|
---|
27 | alias grep='grep --color=auto'
|
---|
28 | alias ip='ip -color=auto'
|
---|
Note:
See
TracBrowser
for help on using the repository browser.