Using Kate instead of nano
This commit is contained in:
parent
0398b96b48
commit
32a8c1587c
1 changed files with 2 additions and 1 deletions
|
@ -122,7 +122,8 @@ foreach ($opts['files'] as $file) {
|
|||
while (!in_array($inp,['y','n','e','']))
|
||||
$inp=strtolower(prompt('Do you want to edit it? [(y)es/(N)o/(e)xit] '));
|
||||
if ($inp=='y')
|
||||
system('nano +'.$i.' '.escapeshellarg($file).' > `tty`');
|
||||
//system('nano +'.($i+1).' '.escapeshellarg($file).' > `tty`');
|
||||
system('kate -l '.($i+1).' '.escapeshellarg($file));
|
||||
elseif ($inp=='e')
|
||||
exit(0);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue