summaryrefslogtreecommitdiff
path: root/home/xyz/.bashrc
diff options
context:
space:
mode:
authorxyz <gky44px1999@gmail.com>2022-08-23 15:48:19 -0700
committerxyz <gky44px1999@gmail.com>2022-08-23 15:48:19 -0700
commit5b911dc33d170a02b8a5fac4659f2293b7c558db (patch)
tree08283eee426bdcbdb22a21e244118981dce04e67 /home/xyz/.bashrc
parentba7ace7ede220a3b814cce6eaf2d76400a7e8fc6 (diff)
.bashrc, tree no sudo
Diffstat (limited to 'home/xyz/.bashrc')
-rw-r--r--home/xyz/.bashrc3
1 files changed, 2 insertions, 1 deletions
diff --git a/home/xyz/.bashrc b/home/xyz/.bashrc
index 1ce59faa..f1d3e671 100644
--- a/home/xyz/.bashrc
+++ b/home/xyz/.bashrc
@@ -35,7 +35,7 @@ PS1="\[$(tput setaf 1)\][\u@\h \W]\$ \[$(tput sgr0)\]"
for cmd in hardcode-fixer ventoy du units_cur fbgrab powertop nft rpi-imager fdisk dmesg; do
alias $cmd="sudo $cmd"
done
-for cmd in pacdiff 'tree -a' visudo; do
+for cmd in pacdiff visudo; do
alias ${cmd%% *}="sudo -E $cmd"
done
unset cmd
@@ -55,6 +55,7 @@ alias remind='remind -@'
alias rm='rm -I'
alias sdcv='sdcv --color'
alias shellcheck='shellcheck -x'
+alias tree='tree -a'
alias uname='uname -a'
alias vkmark='vkmark --fullscreen'
alias watch='watch -c '