You are not logged in.
if you liked this, I did http://opendesktop.org/content/show.php?content=137743,
this script is to call easy the important Arch Linux configuration files for editing. but this does not work any more.
so I put it to work again, and add new things in.
https://aur.archlinux.org/packages.php?ID=57416
as regular, user run it with 'su -c archcfg' not 'sudo archcfg'.
if not set, editor is nano.
cheers!
Last edited by simke (2012-03-18 14:22:15)
I'm a Paladin with 18 charisma and 97 hit points. I can use my helm of disintegration and do one D4 damage as my half-elf mage wields his plus-five holy avenger.
Offline
Is there a reason it can't use $EDITOR variable?
The part of /usr/bin/archcfg that set the editor:
#set editor
_conf_file='/etc/archcfg/archcfg.conf'
if [ -e $_conf_file ]; then
EDIT=`cat $_conf_file`
else
EDIT='nano'
fi
Offline
Is there a reason it can't use $EDITOR variable?
The part of /usr/bin/archcfg that set the editor:
#set editor _conf_file='/etc/archcfg/archcfg.conf' if [ -e $_conf_file ]; then EDIT=`cat $_conf_file` else EDIT='nano' fi
actually no!!!!
fix in i min!
I'm a Paladin with 18 charisma and 97 hit points. I can use my helm of disintegration and do one D4 damage as my half-elf mage wields his plus-five holy avenger.
Offline
done.
I'm a Paladin with 18 charisma and 97 hit points. I can use my helm of disintegration and do one D4 damage as my half-elf mage wields his plus-five holy avenger.
Offline
add read log's and edit .xinitrc, so as regular user now you have tu run it with 'su -c', 'sudo archcfg' does not work properly.
Last edited by simke (2012-03-18 14:48:08)
I'm a Paladin with 18 charisma and 97 hit points. I can use my helm of disintegration and do one D4 damage as my half-elf mage wields his plus-five holy avenger.
Offline