LoginSignup
4
1

More than 3 years have passed since last update.

人前でsudoの罵りを見られると色々マズイ[元:sudoするたびに可愛い女の子に罵られたい!!他]

Posted at

お遊びなのでかなり適当です。すみません…

元ネタ:
sudoするたびに可愛い女の子に罵られたい!!
fishでもsudoで罵られたい![元ネタ:sudoするたびに可愛い女の子に罵られたい!!]

触発されて自分もツンツンさせてみた。

export SUDO_PROMPT="[sudo]sudoってあげるから、さっさとパスワードよこしなさい!>"

fig1.png

あ、いいっすね…
でも、もしこれを人前でやってしまうと…。

起動時に選ぶ

自分はhomebrewで突っ込んだfishを使っているので、.config/fish/config.fishに…

read input
switch $input
    case "tsundere mode!"
        export SUDO_PROMPT="[sudo]sudoってあげるから、さっさとパスワードよこしなさい!>"
        echo "ツンデレモード!!!!"
end

対策後

スクリーンショット 2020-03-22 17.13.06.png

4
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
1