On Wed, Nov 14, 2018 at 09:55:31AM +0000, Jonathan Dowland wrote: > On Tue, Nov 13, 2018 at 08:15:13AM -0500, Greg Wooledge wrote: > > So move them to scripts instead. Or a single script. > > > > Defining your system backup in your end-user account's shell functions > > just seems completely silly and pointless. > > I can't really see the problem, assuming ~/.bashrc is being backed up in > the same way you might expect ~/bin/backup{1,2,3} to be.
The point is you can run "sudo ascript" but you cannot run "sudo afunction".