Hi,
often I have this scenario:
I miss an application/script, a setting or something like that.
To apply the modifikation I becom root from the shell I was using as user.
I modificate/install or whatever change is needed...
I CTRL-D back to my user shell.
Now I have to do a "rehash" (I am using
Hi, Meino
I'd make a script, sudo_with_rehash:
sudo "$@"
rehash
and add to whatever is the equivalent of .bashrc for zsh:
alias sudo="source sudo_with_rehash"
Would that work for you?
Best,
Anton
On Wed, Oct 31, 2018 at 4:49 AM wrote:
> Hi,
>
> often I have this scenario:
> I miss an
Hi Anton,
thank you very much ! :)
Your solution creates the flat-hand-against-my-forehead
effect... ;)
Of course! Yes!
Cheers!
Meino
On 10/31 07:37, Anton Molyboha wrote:
> Hi, Meino
>
> I'd make a script, sudo_with_rehash:
>
> sudo "$@"
> rehash
>
> and add to whatever is the equiva
You could also define a function like
function surh() { sudo "$@" ; rehash ; }
in your ~/.zshrc and skip the extra script file.
s.
"tu...@posteo.de" , 31.10.2018, 16:36:
> Hi Anton,
> thank you very much ! :)
> Your solution creates the flat-hand-against-my-forehead
> effect... ;)
> Of co
On 10/31/2018 10:49 AM, Stefan Schmiedl wrote:
You could also define a function like … and skip the extra script file.
Agreed.
Though I've found that scripts are nicer for some things, like remote
command execution. ;-)
--
Grant. . . .
unix || die
On Tue, 30 Oct 2018 11:53:33 + Pouru Lasse wrote:
> "Davyd McColl" writes:
>
> > Would apulse not do the trick?
> >
> > -d
> > On 2018-10-30 11:15:14, Pouru Lasse wrote:
> >
> > Is it possible to run the emulator included with Android Studio without
> > having PulseAudio installed? When I tr
On Tue, 30 Oct 2018 13:29:59 +0100 Håkon Alstadheim wrote:
>
> Den 30. okt. 2018 10:01, skrev Mick:
> > On Tuesday, 30 October 2018 06:30:23 GMT Håkon Alstadheim wrote:
> >> I'm having fun enabling "test" in FEATURES on my gentoo-desktop. One
> >> interesting failure, that brings to mind build fai
On Tue, 30 Oct 2018 12:27:52 -0600 the wrote:
> Hello,
>
> I have upgraded to sys-libs/glibc-2.27-r6
> and it broke the system.
>
> I can't even compile a hello world test program in c.
>
> I always get the following linking error:
>
> $ gcc main.c -o main.elf
> /usr/lib/gcc/x86_64-pc-linux-gnu
On Thu, 1 Nov 2018 03:09:51 +0300 Andrew Savchenko wrote:
> On Tue, 30 Oct 2018 13:29:59 +0100 Håkon Alstadheim wrote:
> >
> > Den 30. okt. 2018 10:01, skrev Mick:
[...]
> > Memory should not be a problem here. Fails with only that one emerge
> > running,
> > succeeds if run directly as root, or w
For me;
Oct 25 15:34:51 phat kernel: fbcon: amdgpudrmfb (fb0) is primary device
Oct 25 15:34:51 phat kernel: amdgpu: [powerplay]
failed to send message 148 ret is 0
Oct 25 15:34:51 phat kernel: amdgpu: [powerplay]
last message was failed
10 matches
Mail list logo