Update..
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user