else
unset NB_UNSUPORTED
- #echo $NB_CURRENT_DIR; return
+ #echo $NB_CURRENT_DIR; #return
[ -e "$NB_CURRENT_DIR/profile.d/functions" ] && . "$NB_CURRENT_DIR/profile.d/functions"
export NB_ROOT=$(realpath $NB_CURRENT_DIR/.. 2>/dev/null)
# Profiles
#
if [ -n "$NB_ROOT" ]; then
- [ -e "$NB_ROOT/etc/profile.d/envs" ] && . "$NB_ROOT/etc/profile.d/envs"
+ #[ -e "$NB_ROOT/etc/profile.d/envs" ] && . "$NB_ROOT/etc/profile.d/envs"
#${NB_ROOT}/etc/profile.d/*.sh
for i in \
+ ${NB_ROOT}/etc/profile.d/envs \
${NB_ROOT}/etc/profile.d/aliases \
$(nb_repo "etc/profile" "etc/profile.d/*.sh" | grep -vFx "${NB_ROOT}/etc/profile") \
;do
[ -z "$env_value" ] || echo "$env_value"
}
-if !which realpath 2>/dev/null; then
+if ! which realpath >/dev/null; then
realpath() {
if which perl &> /dev/null; then
perl -MFile::Spec -MCwd -e 'print File::Spec->rel2abs( Cwd::abs_path($ARGV[0]) )."\n" if -e $ARGV[0]' "$1"
" NB 05.03.16 "set shellcmdflag=-c
" NB 05.03.16 "set shell=/bin/bash\ --rcfile\ ~/.bash_profile
" NB 05.03.16 endif
-for file in ["~/.profile", "~/.bashrc", "~/.bash_profile", "~/.zshrc"]
+for file in ["~/.profile", "~/.bashrc", "~/.bash_profile", "~/.zshrc", "/etc/profile"]
if !empty(glob(file))
let $BASH_ENV = file
break
background-color: #3C3C3B;
}
+table { border-collapse: collapse; }
+td, th { padding: 0.2em 0.7em; }
+th { font-size: 0.8em; }
+
+textarea,
+input:not([type]),
+input[type=''],
+input[type='text'] {
+ box-shadow: 0 0 5px 0 #eee;
+ border-radius: 4px;
+ border: solid 1px #eee;
+ padding: 0.4em;
+ margin-right: 0.3em;
+}
+
+form label:after {
+ content: ': ';
+}
+
+form label,
+form input,
+form select {
+ vertical-align: middle;
+}
+
table.rows,
div.rows,
+.menu,
object, iframe, pre, .t2d tr
{
border-collapse: separate;
border-spacing: 0;
- padding: 0.2em 0.1em;
+ padding: 0.5em 0.2em;
border-radius: 4px;
border: solid 1px #fff;