• horse@feddit.org
    link
    fedilink
    arrow-up
    33
    ·
    edit-2
    2 天前
    alias yeet='git push'
    alias yoink='git pull'
    

    Edit wovon ich auch fan bin: alias please='eval "sudo $(fc -ln -1)"'

    ╭─horse@horseserver ~
    ╰─♞ touch /test
    touch: cannot touch '/test': Permission denied
    ╭─horse@horseserver ~
    ╰─♞ please
    ╭─horse@horseserver ~
    ╰─♞ ls -lah /test
    -rw-r--r-- 1 root root 0 Nov 22 18:57 /test