2 pointsby vikaskyadav2 hours ago1 comment
  • TacticalCoder2 hours ago
    > Overriding standard commands can sometimes break scripts or surprise experienced users. Therefore, explicit safe variants are preferable. > > alias cpi='cp -i' > alias mvi='mv -i' > alias rmi='rm -i'

    That's entirely losing the benefit of aliasing rm to 'rm -i'

    And how's that breaking scripts? Scripts don't use aliased versions.

    As for experienced users, IMO, they'll have the rm -i alias... Precisely because they've been bitten by this.