-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.shinit
More file actions
28 lines (23 loc) · 1018 Bytes
/
.shinit
File metadata and controls
28 lines (23 loc) · 1018 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# .pam_environment sets ENV to point at this file, which means that this file
# will get sourced when the 'sh' is interactive. Bash normally only sources ENV
# when it is in 'posix' mode or has been invoked as 'sh', but my .bashrc will
# always source $ENV.
# I use this file to hold any non-bash specific items that I want done for every
# interactive shell, even non-login shells. For example, settings that cannot or
# should not be inherited. Variables that I want to allow this shell instance to
# inherit from its parent should not be set here; default values for overridable
# variables can be set in .profile.
# CLICOLOR tells ls to use in its output.
export CLICOLOR=1
# use dircolors to set LS_COLORS
if [ -x /usr/bin/dircolors ]; then
if [ -r ~/.dir_colors ]; then
eval "$(dircolors -b ~/.dir_colors)"
else
eval "$(dircolors -b)"
fi
fi
# make less more friendly for non-text input files, see lesspipe(1)
[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"
set -o ignoreeof
set -o vi