initd version

This commit is contained in:
jonathan
2025-10-10 21:19:35 +02:00
commit 3dc49844d0
11 changed files with 273 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
# change the default editor to nano
export EDITOR='/bin/nano'

View File

@@ -0,0 +1,8 @@
# overrule the default prompt to make it more usefull
if [ "$PS1" ]; then
if [ "`id -u`" -eq 0 ]; then
export PS1="\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]# "
else
export PS1="\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ "
fi
fi