This commit is contained in:
2025-09-25 00:11:31 +02:00
parent 2e8f50c951
commit 40ce22e526
23 changed files with 141 additions and 44 deletions

View File

@@ -21,6 +21,11 @@ if [ -d "$HOME/bin" ] ; then
PATH="$HOME/bin:$PATH" PATH="$HOME/bin:$PATH"
fi fi
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/.local/bin" ] ; then
PATH="$HOME/.local/bin:$PATH"
fi
# this is for the midnight-commander # this is for the midnight-commander
# to become the last directory the midnight commander was in # to become the last directory the midnight commander was in
# as the current directory when leaving the midnight commander # as the current directory when leaving the midnight commander

View File

@@ -23,14 +23,19 @@ if [ -d "$HOME/bin" ] ; then
PATH="$HOME/bin:$PATH" PATH="$HOME/bin:$PATH"
fi fi
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/.local/bin" ] ; then
PATH="$HOME/.local/bin:$PATH"
fi
# this is for the midnight-commander # this is for the midnight-commander
# to become the last directory the midnight commander was in # to become the last directory the midnight commander was in
# as the current directory when leaving the midnight commander # as the current directory when leaving the midnight commander
# #
#. /usr/lib/mc/bin/mc.sh if [ -f "/usr/share/mc/bin/mc.sh" ]; then
#
if [ -f "/usr/share/mc/bin/mc.sh" ] ; then
source /usr/share/mc/bin/mc.sh source /usr/share/mc/bin/mc.sh
elif [ -f "/usr/lib/mc/bin/mc.sh" ] ; then
source /usr/lib/mc/bin/mc.sh
fi fi
export LANG="de_DE.utf8" export LANG="de_DE.utf8"

View File

@@ -21,6 +21,11 @@ if [ -d "$HOME/bin" ] ; then
PATH="$HOME/bin:$PATH" PATH="$HOME/bin:$PATH"
fi fi
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/.local/bin" ] ; then
PATH="$HOME/.local/bin:$PATH"
fi
# this is for the midnight-commander # this is for the midnight-commander
# to become the last directory the midnight commander was in # to become the last directory the midnight commander was in
# as the current directory when leaving the midnight commander # as the current directory when leaving the midnight commander

View File

@@ -35,4 +35,6 @@ elif [ -f "/usr/lib/mc/bin/mc.sh" ] ; then
source /usr/lib/mc/bin/mc.sh source /usr/lib/mc/bin/mc.sh
fi fi
mesg n if command -v mesg >/dev/null 2>&1; then
mesg n
fi

View File

@@ -18,7 +18,12 @@ fi
# to become the last directory the midnight commander was in # to become the last directory the midnight commander was in
# as the current directory when leaving the midnight commander # as the current directory when leaving the midnight commander
# #
# . /usr/lib/mc/bin/mc.sh if [ -f "/usr/share/mc/bin/mc.sh" ]; then
. /usr/share/mc/bin/mc.sh source /usr/share/mc/bin/mc.sh
elif [ -f "/usr/lib/mc/bin/mc.sh" ] ; then
source /usr/lib/mc/bin/mc.sh
fi
mesg n if command -v mesg >/dev/null 2>&1; then
mesg n
fi

View File

@@ -25,7 +25,8 @@ fi
# to become the last directory the midnight commander was in # to become the last directory the midnight commander was in
# as the current directory when leaving the midnight commander # as the current directory when leaving the midnight commander
# #
if [[ -f /usr/share/mc/bin/mc.sh ]]; then if [ -f "/usr/share/mc/bin/mc.sh" ]; then
source /usr/share/mc/bin/mc.sh source /usr/share/mc/bin/mc.sh
elif [ -f "/usr/lib/mc/bin/mc.sh" ] ; then
source /usr/lib/mc/bin/mc.sh
fi fi

View File

@@ -23,14 +23,19 @@ if [ -d "$HOME/bin" ] ; then
PATH="$HOME/bin:$PATH" PATH="$HOME/bin:$PATH"
fi fi
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/.local/bin" ] ; then
PATH="$HOME/.local/bin:$PATH"
fi
# this is for the midnight-commander # this is for the midnight-commander
# to become the last directory the midnight commander was in # to become the last directory the midnight commander was in
# as the current directory when leaving the midnight commander # as the current directory when leaving the midnight commander
# #
#. /usr/lib/mc/bin/mc.sh if [ -f "/usr/share/mc/bin/mc.sh" ]; then
#
if [ -f "/usr/share/mc/bin/mc.sh" ] ; then
source /usr/share/mc/bin/mc.sh source /usr/share/mc/bin/mc.sh
elif [ -f "/usr/lib/mc/bin/mc.sh" ] ; then
source /usr/lib/mc/bin/mc.sh
fi fi
export LANG="de_DE.utf8" export LANG="de_DE.utf8"

View File

@@ -25,7 +25,12 @@ fi
# to become the last directory the midnight commander was in # to become the last directory the midnight commander was in
# as the current directory when leaving the midnight commander # as the current directory when leaving the midnight commander
# #
if [[ -f /usr/share/mc/bin/mc.sh ]]; then if [ -f "/usr/share/mc/bin/mc.sh" ]; then
source /usr/share/mc/bin/mc.sh source /usr/share/mc/bin/mc.sh
elif [ -f "/usr/lib/mc/bin/mc.sh" ] ; then
source /usr/lib/mc/bin/mc.sh
fi fi
if command -v mesg >/dev/null 2>&1; then
mesg n
fi

View File

@@ -18,8 +18,12 @@ fi
# to become the last directory the midnight commander was in # to become the last directory the midnight commander was in
# as the current directory when leaving the midnight commander # as the current directory when leaving the midnight commander
# #
if [[ -f /usr/share/mc/bin/mc.sh ]]; then if [ -f "/usr/share/mc/bin/mc.sh" ]; then
source /usr/share/mc/bin/mc.sh source /usr/share/mc/bin/mc.sh
elif [ -f "/usr/lib/mc/bin/mc.sh" ] ; then
source /usr/lib/mc/bin/mc.sh
fi fi
mesg n if command -v mesg >/dev/null 2>&1; then
mesg n
fi

View File

@@ -25,7 +25,12 @@ fi
# to become the last directory the midnight commander was in # to become the last directory the midnight commander was in
# as the current directory when leaving the midnight commander # as the current directory when leaving the midnight commander
# #
if [[ -f /usr/share/mc/bin/mc.sh ]]; then if [ -f "/usr/share/mc/bin/mc.sh" ]; then
source /usr/share/mc/bin/mc.sh source /usr/share/mc/bin/mc.sh
elif [ -f "/usr/lib/mc/bin/mc.sh" ] ; then
source /usr/lib/mc/bin/mc.sh
fi fi
if command -v mesg >/dev/null 2>&1; then
mesg n
fi

View File

@@ -23,14 +23,19 @@ if [ -d "$HOME/bin" ] ; then
PATH="$HOME/bin:$PATH" PATH="$HOME/bin:$PATH"
fi fi
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/.local/bin" ] ; then
PATH="$HOME/.local/bin:$PATH"
fi
# this is for the midnight-commander # this is for the midnight-commander
# to become the last directory the midnight commander was in # to become the last directory the midnight commander was in
# as the current directory when leaving the midnight commander # as the current directory when leaving the midnight commander
# #
#. /usr/lib/mc/bin/mc.sh if [ -f "/usr/share/mc/bin/mc.sh" ]; then
#
if [ -f "/usr/share/mc/bin/mc.sh" ] ; then
source /usr/share/mc/bin/mc.sh source /usr/share/mc/bin/mc.sh
elif [ -f "/usr/lib/mc/bin/mc.sh" ] ; then
source /usr/lib/mc/bin/mc.sh
fi fi
export LANG="de_DE.utf8" export LANG="de_DE.utf8"

View File

@@ -21,6 +21,11 @@ if [ -d "$HOME/bin" ] ; then
PATH="$HOME/bin:$PATH" PATH="$HOME/bin:$PATH"
fi fi
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/.local/bin" ] ; then
PATH="$HOME/.local/bin:$PATH"
fi
# this is for the midnight-commander # this is for the midnight-commander
# to become the last directory the midnight commander was in # to become the last directory the midnight commander was in
# as the current directory when leaving the midnight commander # as the current directory when leaving the midnight commander

View File

@@ -35,4 +35,6 @@ elif [ -f "/usr/lib/mc/bin/mc.sh" ] ; then
source /usr/lib/mc/bin/mc.sh source /usr/lib/mc/bin/mc.sh
fi fi
mesg n if command -v mesg >/dev/null 2>&1; then
mesg n
fi

View File

@@ -18,7 +18,12 @@ fi
# to become the last directory the midnight commander was in # to become the last directory the midnight commander was in
# as the current directory when leaving the midnight commander # as the current directory when leaving the midnight commander
# #
# . /usr/lib/mc/bin/mc.sh if [ -f "/usr/share/mc/bin/mc.sh" ]; then
. /usr/share/mc/bin/mc.sh source /usr/share/mc/bin/mc.sh
elif [ -f "/usr/lib/mc/bin/mc.sh" ] ; then
source /usr/lib/mc/bin/mc.sh
fi
mesg n if command -v mesg >/dev/null 2>&1; then
mesg n
fi

View File

@@ -21,11 +21,18 @@ if [ -d "$HOME/bin" ] ; then
PATH="$HOME/bin:$PATH" PATH="$HOME/bin:$PATH"
fi fi
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/.local/bin" ] ; then
PATH="$HOME/.local/bin:$PATH"
fi
# this is for the midnight-commander # this is for the midnight-commander
# to become the last directory the midnight commander was in # to become the last directory the midnight commander was in
# as the current directory when leaving the midnight commander # as the current directory when leaving the midnight commander
# #
if [[ -f /usr/share/mc/bin/mc.sh ]]; then if [ -f "/usr/share/mc/bin/mc.sh" ]; then
source /usr/share/mc/bin/mc.sh source /usr/share/mc/bin/mc.sh
elif [ -f "/usr/lib/mc/bin/mc.sh" ] ; then
source /usr/lib/mc/bin/mc.sh
fi fi

View File

@@ -23,14 +23,19 @@ if [ -d "$HOME/bin" ] ; then
PATH="$HOME/bin:$PATH" PATH="$HOME/bin:$PATH"
fi fi
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/.local/bin" ] ; then
PATH="$HOME/.local/bin:$PATH"
fi
# this is for the midnight-commander # this is for the midnight-commander
# to become the last directory the midnight commander was in # to become the last directory the midnight commander was in
# as the current directory when leaving the midnight commander # as the current directory when leaving the midnight commander
# #
#. /usr/lib/mc/bin/mc.sh if [ -f "/usr/share/mc/bin/mc.sh" ]; then
#
if [ -f "/usr/share/mc/bin/mc.sh" ] ; then
source /usr/share/mc/bin/mc.sh source /usr/share/mc/bin/mc.sh
elif [ -f "/usr/lib/mc/bin/mc.sh" ] ; then
source /usr/lib/mc/bin/mc.sh
fi fi
export LANG="de_DE.utf8" export LANG="de_DE.utf8"

View File

@@ -35,4 +35,6 @@ elif [ -f "/usr/lib/mc/bin/mc.sh" ] ; then
source /usr/lib/mc/bin/mc.sh source /usr/lib/mc/bin/mc.sh
fi fi
mesg n if command -v mesg >/dev/null 2>&1; then
mesg n
fi

View File

@@ -21,11 +21,17 @@ if [ -d "$HOME/bin" ] ; then
PATH="$HOME/bin:$PATH" PATH="$HOME/bin:$PATH"
fi fi
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/.local/bin" ] ; then
PATH="$HOME/.local/bin:$PATH"
fi
# this is for the midnight-commander # this is for the midnight-commander
# to become the last directory the midnight commander was in # to become the last directory the midnight commander was in
# as the current directory when leaving the midnight commander # as the current directory when leaving the midnight commander
# #
if [[ -f /usr/share/mc/bin/mc.sh ]]; then if [ -f "/usr/share/mc/bin/mc.sh" ]; then
source /usr/share/mc/bin/mc.sh source /usr/share/mc/bin/mc.sh
elif [ -f "/usr/lib/mc/bin/mc.sh" ] ; then
source /usr/lib/mc/bin/mc.sh
fi fi

View File

@@ -23,14 +23,19 @@ if [ -d "$HOME/bin" ] ; then
PATH="$HOME/bin:$PATH" PATH="$HOME/bin:$PATH"
fi fi
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/.local/bin" ] ; then
PATH="$HOME/.local/bin:$PATH"
fi
# this is for the midnight-commander # this is for the midnight-commander
# to become the last directory the midnight commander was in # to become the last directory the midnight commander was in
# as the current directory when leaving the midnight commander # as the current directory when leaving the midnight commander
# #
#. /usr/lib/mc/bin/mc.sh if [ -f "/usr/share/mc/bin/mc.sh" ]; then
#
if [ -f "/usr/share/mc/bin/mc.sh" ] ; then
source /usr/share/mc/bin/mc.sh source /usr/share/mc/bin/mc.sh
elif [ -f "/usr/lib/mc/bin/mc.sh" ] ; then
source /usr/lib/mc/bin/mc.sh
fi fi
export LANG="de_DE.utf8" export LANG="de_DE.utf8"

View File

@@ -17,14 +17,17 @@ if [ -n "$BASH_VERSION" ]; then
fi fi
# set PATH so it includes user's private bin if it exists # set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then if [ -d "$HOME/.local/bin" ] ; then
PATH="$HOME/bin:$PATH" PATH="$HOME/.local/bin:$PATH"
fi fi
# this is for the midnight-commander # this is for the midnight-commander
# to become the last directory the midnight commander was in # to become the last directory the midnight commander was in
# as the current directory when leaving the midnight commander # as the current directory when leaving the midnight commander
# #
#. /usr/lib/mc/bin/mc.sh if [ -f "/usr/share/mc/bin/mc.sh" ]; then
. /usr/share/mc/bin/mc.sh source /usr/share/mc/bin/mc.sh
elif [ -f "/usr/lib/mc/bin/mc.sh" ] ; then
source /usr/lib/mc/bin/mc.sh
fi

View File

@@ -21,6 +21,11 @@ if [ -d "$HOME/bin" ] ; then
PATH="$HOME/bin:$PATH" PATH="$HOME/bin:$PATH"
fi fi
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/.local/bin" ] ; then
PATH="$HOME/.local/bin:$PATH"
fi
# this is for the midnight-commander # this is for the midnight-commander
# to become the last directory the midnight commander was in # to become the last directory the midnight commander was in
# as the current directory when leaving the midnight commander # as the current directory when leaving the midnight commander

View File

@@ -35,4 +35,6 @@ elif [ -f "/usr/lib/mc/bin/mc.sh" ] ; then
source /usr/lib/mc/bin/mc.sh source /usr/lib/mc/bin/mc.sh
fi fi
mesg n if command -v mesg >/dev/null 2>&1; then
mesg n
fi

View File

@@ -10,15 +10,18 @@ fi
if [ -d "$HOME/bin" ] ; then if [ -d "$HOME/bin" ] ; then
PATH="$HOME/bin:$PATH" PATH="$HOME/bin:$PATH"
fi fi
if [ -d "$HOME/bin/admin-stuff" ] ; then
PATH="$HOME/bin/admin-stuff:$PATH" # set PATH so it includes user's private bin if it exists
if [ -d "$HOME/.local/bin" ] ; then
PATH="$HOME/.local/bin:$PATH"
fi fi
# this is for the midnight-commander # this is for the midnight-commander
# to become the last directory the midnight commander was in # to become the last directory the midnight commander was in
# as the current directory when leaving the midnight commander # as the current directory when leaving the midnight commander
# #
# . /usr/lib/mc/bin/mc.sh if [ -f "/usr/share/mc/bin/mc.sh" ]; then
. /usr/share/mc/bin/mc.sh source /usr/share/mc/bin/mc.sh
elif [ -f "/usr/lib/mc/bin/mc.sh" ] ; then
mesg n source /usr/lib/mc/bin/mc.sh
fi