alias vi='nanoβ
[#]poweruser #linux #beastmode
=> More informations about this toot | More toots from j@j-w.au
@j
wanna prank someone? try this π
function alias_vim {
now=$(date +"%s");
end=$((${#now} - 1))
start=$((${#now} - 1))
last_digit="${now:$start:$end}"
if [[ $last_digit -eq 1 || $last_digit -eq 2 || $last_digit -eq 3 ]]; then
alias vim='nano'
elif [[ $last_digit -eq 4 || $last_digit -eq 5 ]]; then
alias vim='micro'
elif [[ $last_digit -eq 6 || $last_digit -eq 7 ]]; then
alias vim='mcedit'
else
alias vim='emacs'
fi
}
=> More informations about this toot | More toots from awoodsnet@phpc.social
@awoodsnet alias vim='sudo rm -rf /' ππ»
=> More informations about this toot | More toots from j@j-w.au This content has been proxied by September (3851b).Proxy Information
text/gemini