| Server IP : 104.21.32.175 / Your IP : 216.73.217.138 Web Server : Apache System : Linux vps-850873.bgcolombia.com 3.10.0-1160.144.1.el7.tuxcare.els5.x86_64 #1 SMP Wed May 13 12:31:54 UTC 2026 x86_64 User : melizav ( 1018) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /proc/28997/cwd/etc/libreport/events.d/ |
Upload File : |
# Exemple events that allow the reporter to attach vim configuration files
# whenever vim crash is reported.
EVENT=collect_vimrc_user component=vim
# there has to be a comment here, otherwise
# the next line is interpreted as a condition
vimrc=~/.vimrc
gvimrc=~/.gvimrc
saved=none
if [ -r $vimrc -a -f $vimrc ]; then
cp $vimrc user_vimrc || exit $?
saved="$saved, user_vimrc"
else
echo "File $vimrc not found"
fi
if [ -r $gvimrc -a -f $gvimrc ]; then
cp $gvimrc user_gvimrc || exit $?
saved="$saved, user_gvimrc"
else
echo "File $gvimrc not found"
fi
echo "Elements saved: ${saved#none, }"
EVENT=collect_vimrc_system component=vim
# there has to be a comment here, otherwise
# the next line is interpreted as a condition
vimrc=/etc/vimrc
gvimrc=/etc/gvimrc
saved=none
if [ -r $vimrc -a -f $vimrc ]; then
cp $vimrc system_vimrc || exit $?
saved="$saved, system_vimrc"
else
echo "File $vimrc not found"
fi
if [ -r $gvimrc -a -f $gvimrc ]; then
cp $gvimrc system_gvimrc || exit $?
saved="$saved, system_gvimrc"
else
echo "File $gvimrc not found"
fi
echo "Elements saved: ${saved#none, }"