Giter Site home page Giter Site logo

sudo !! about warp HOT 5 OPEN

photismos avatar photismos commented on May 25, 2024
sudo !!

from warp.

Comments (5)

dannyneira avatar dannyneira commented on May 25, 2024

Hi @photismos Which OS are you on? Do you have the latest version of Warp installed? I was able to use sudo !! on my Mac in zsh, and it ran the previous command as sudo.

CleanShot 2024-04-24 at 16 47 07

Can you please provide a screenshot or video of the issue to better help us understand what failed?

from warp.

photismos avatar photismos commented on May 25, 2024

Hi @dannyneira . Thanks for responding. Forgive me for taking a minute to get back to you. I'm presently on OCD-updated 64-bit Garuda 2.6.26-1, Kernel: 6.8.7-zen1-1-zen. WM: kwin, Plasma 6.0.4. I spend a lot of time on this old 790-MT 2nd gen i7-2600 (8) @ 3.8 GHz, 32 Gigs RAM. Attaching my screenshot... Thank you. Have a great day.

Warp_no_sudo_bang_bang_on_Garuda_KDE_Plasma_Screenshot_20240426_122159

from warp.

photismos avatar photismos commented on May 25, 2024

The other thing that shouldn't go without saying is that—does Warp even need 'sudo !!'? It may be somewhat superfluous. I realized only later, in lieu of two key strokes for bang bang, I can more simply one-key right-arrow complete the previous command after 'sudo'. shrug At least for purposes on this machine...

does_Warp_even_need_sudo_bang_bang_maybe_not_Screenshot_20240426_133903

from warp.

dannyneira avatar dannyneira commented on May 25, 2024

Thanks for letting us know. Yes the Command Correction is meant to help, but it's still not solving your issue. I wasn't able to reproduce this issue on my arch linux VM, is it possible you have something in your RC files that modifies the normal behavior of sudo !!?

CleanShot 2024-04-26 at 14 32 19

from warp.

photismos avatar photismos commented on May 25, 2024

Thanks for letting us know. Yes the Command Correction is meant to help, but it's still not solving your issue. I wasn't able to reproduce this issue on my arch linux VM, is it possible you have something in your RC files that modifies the normal behavior of sudo !!?

@dannyneira ...I don't see anything in profile or rc's that would indicate anything amiss.

`rg "sudo" .bash*
.bash_history
53:sudo fdisk -cu /dev/sdc

.bashrc
40:alias grubup="sudo update-grub"
41:alias fixpacman="sudo rm /var/lib/pacman/db.lck"
45:alias rmpkg="sudo pacman -Rdd"
65:alias mirror="sudo reflector -f 30 -l 30 --number 10 --verbose --save /etc/pacman.d/mirrorlist"
66:alias mirrord="sudo reflector --latest 50 --number 20 --sort delay --save /etc/pacman.d/mirrorlist"
67:alias mirrors="sudo reflector --latest 50 --number 20 --sort score --save /etc/pacman.d/mirrorlist"
68:alias mirrora="sudo reflector --latest 50 --number 20 --sort age --save /etc/pacman.d/mirrorlist"
73:alias please='sudo'
76:alias pacdiff='sudo -H DIFFPROG=meld pacdiff'
79:alias cleanup='sudo pacman -Rns $(pacman -Qtdq)'
rg "sudo" .config/fish/
.config/fish/config.fish
102: sudo pacman -R (pacman -Qdtq)
133:alias fixpacman 'sudo rm /var/lib/pacman/db.lck'
138:alias grubup 'sudo update-grub'
143:alias rmpkg 'sudo pacman -Rdd'
151:alias mirror 'sudo reflector -f 30 -l 30 --number 10 --verbose --save /etc/pacman.d/mirrorlist'
152:alias mirrora 'sudo reflector --latest 50 --number 20 --sort age --save /etc/pacman.d/mirrorlist'
153:alias mirrord 'sudo reflector --latest 50 --number 20 --sort delay --save /etc/pacman.d/mirrorlist'
154:alias mirrors 'sudo reflector --latest 50 --number 20 --sort score --save /etc/pacman.d/mirrorlist'
159:alias please 'sudo'
162:alias pacdiff 'sudo -H DIFFPROG=meld pacdiff'`

from warp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.