Default
ROOT .vimrc and .profile
C. BinKadal --- Sendirian, Berhad


ROOT .vimrc and .profile

  • .vimrc is the vi(m) configuration file.
  • .profile is the bash profile.

# ROOT
ZCZCMODIFIED="# ZCZCMODIFIED OS232"

cat > $HOME/.vimrc << EOF
" START: Thu 22 Jun 2023 11:00
syntax off
set belloff=all
EOF

grep -Eq "$ZCZCMODIFIED" $HOME/.profile || cat >> $HOME/.profile << EOF

# START: Thu 22 Jun 2023 11:00
# What is your EDITOR?
export EDITOR=/usr/bin/vi
export LFS=/mnt/lfs
alias cl='clear;echo ""'
alias h='history'
alias mv='mv -i'
alias rm='rm -i'
alias sss='. ~/.profile'

$ZCZCMODIFIED

EOF
###
source $HOME/.profile






© 2021-2024 --- C. BinKadal --- About --- Revision: Tue 26 Nov 2024 18:00.