Skip to content
Snippets Groups Projects
Commit fe8a0c0c authored by Sylvester Joosten's avatar Sylvester Joosten
Browse files

move shell setup outside of profile.d

parent e80d5d6f
No related branches found
No related tags found
1 merge request!81Improved environment setup
This commit is part of merge request !81. Comments created here will be created in the context of that merge request.
...@@ -194,7 +194,7 @@ COPY eic-shell /usr/local/bin/eic-shell ...@@ -194,7 +194,7 @@ COPY eic-shell /usr/local/bin/eic-shell
COPY eic-info /usr/local/bin/eic-info COPY eic-info /usr/local/bin/eic-info
COPY entrypoint.sh /usr/local/sbin/entrypoint.sh COPY entrypoint.sh /usr/local/sbin/entrypoint.sh
COPY eic-env.sh /etc/eic-env.sh COPY eic-env.sh /etc/eic-env.sh
COPY profile.d/a00_setup.sh /etc/profile.d COPY profile.d/a00_cleanup.sh /etc/profile.d
COPY profile.d/z11_jug_env.sh /etc/profile.d COPY profile.d/z11_jug_env.sh /etc/profile.d
COPY singularity.d /.singularity.d COPY singularity.d /.singularity.d
......
...@@ -3,3 +3,16 @@ ...@@ -3,3 +3,16 @@
for i in /etc/profile.d/*.sh; do for i in /etc/profile.d/*.sh; do
source $i source $i
done done
export PS1='eic-shell> \[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
export LS_COLORS='rs=0:di=01;34:ln=01;36:mh=00:pi=40;33'
export GREP_OPTIONS='--color=auto'
function ls {
/bin/ls --color=auto
}
function less {
/usr/bin/less -RAW_CONTROL_CHARS
}
export -f ls
export -f less
...@@ -14,16 +14,3 @@ export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin ...@@ -14,16 +14,3 @@ export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[ ! -z "$CMAKE_PREFIX_PATH" ] && unset CMAKE_PREFIX_PATH [ ! -z "$CMAKE_PREFIX_PATH" ] && unset CMAKE_PREFIX_PATH
[ ! -z "$SOFTWARE_HOME" ] && unset SOFTWARE_HOME [ ! -z "$SOFTWARE_HOME" ] && unset SOFTWARE_HOME
[ ! -z "$ROOTSYS" ] && unset ROOTSYS [ ! -z "$ROOTSYS" ] && unset ROOTSYS
export PS1='eic-shell> \[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
export LS_COLORS='rs=0:di=01;34:ln=01;36:mh=00:pi=40;33'
export GREP_OPTIONS='--color=auto'
function ls {
/bin/ls --color=auto
}
function less {
/usr/bin/less -RAW_CONTROL_CHARS
}
export -f ls
export -f less
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment