From 6896d9d0965f1202363ecdb8722266eed1062e6a Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Wed, 29 May 2024 15:26:43 +0300 Subject: [PATCH] {bash,zsh}rc: common verbose aliases that have been haunting my .custom --- rc/bashrc | 9 ++++++++- rc/zshrc | 9 ++++++++- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/rc/bashrc b/rc/bashrc index 3c0f0824..7df66d60 100755 --- a/rc/bashrc +++ b/rc/bashrc @@ -271,7 +271,7 @@ export RES_OPTIONS="timeout:2 attempts:2 rotate edns0 trust-ad" ##### Aliases RJ706I ##### # To get sudo work with aliases. -alias sudo="sudo " +alias sudo="\sudo " # Moving between directories: alias ..="cd .." @@ -570,6 +570,13 @@ alias ssh-sign-file="ssh-keygen -Y sign -f ~/.ssh/signingkey.pub -n file" # Anywhere on Earth date, https://en.m.wikipedia.org/wiki/Anywhere_on_Earth alias aoedate="TZ=Etc/GMT+12 date" +# verbosity to common actions +alias rm="\rm --verbose" +alias ln="\ln --verbose" +alias mkdir="\mkdir --verbose" +alias chattr="\chattr -V" +alias chmod=--"\chmod --verbose" + # Allow custom aliases to be put in .aliases or .bash_aliases . # .aliases diff --git a/rc/zshrc b/rc/zshrc index b6628f42..cb330a86 100755 --- a/rc/zshrc +++ b/rc/zshrc @@ -237,7 +237,7 @@ export RES_OPTIONS="timeout:2 attempts:2 rotate edns0 trust-ad" ##### Aliases RJ706I ##### # To get sudo work with aliases. -alias sudo="sudo " +alias sudo="\sudo " # Moving between directories: alias ..="cd .." @@ -560,6 +560,13 @@ alias ssh-sign-file="ssh-keygen -Y sign -f ~/.ssh/signingkey.pub -n file" # Anywhere on Earth date, https://en.m.wikipedia.org/wiki/Anywhere_on_Earth alias aoedate="TZ=Etc/GMT+12 date" +# verbosity to common actions +alias rm="\rm --verbose" +alias ln="\ln --verbose" +alias mkdir="\mkdir --verbose" +alias chattr="\chattr -V" +alias chmod=--"\chmod --verbose" + # Allow custom aliases to be put in .aliases or .zsh_aliases . # .aliases