summaryrefslogtreecommitdiff
path: root/home
diff options
context:
space:
mode:
authorXiao Pan <gky44px1999@gmail.com>2023-11-19 02:39:59 -0800
committerXiao Pan <gky44px1999@gmail.com>2023-11-19 02:39:59 -0800
commit072881f54714671fa11c96aec7e2cc7c7e9b22ec (patch)
treebc12fafc964c1ccd6b4ed96dfd2cb7b33c17a802 /home
parent9568a2ed6e8e17699fcb8880edc8a1ff7d1b7942 (diff)
Fix errrors like this: error: command is not an alias: \ls
Diffstat (limited to 'home')
-rw-r--r--home/xyz/.bashrc50
1 files changed, 25 insertions, 25 deletions
diff --git a/home/xyz/.bashrc b/home/xyz/.bashrc
index c4e4f4fd..9fa1fef5 100644
--- a/home/xyz/.bashrc
+++ b/home/xyz/.bashrc
@@ -43,26 +43,6 @@ for cmd in loop o 'watch -c'; do
done
unset cmd
-# same name
-alias absolutely-proprietary='echo n | absolutely-proprietary -f'
-alias alsamixer='alsamixer -V all'
-# I can't find a quick and easy way to temperory disable cloc config file except to change config file. Using an alias can disable --vcs with just \cloc.
-alias cloc='cloc --vcs auto'
-alias diff='diff --color=auto'
-alias glmark2='glmark2 --fullscreen --annotate'
-alias grep='grep --color=auto'
-#alias info='info --vi-keys'
-alias ls='ls --color=auto'
-alias radeontop='radeontop -c'
-alias rem='rem -@'
-alias remind='remind -@'
-alias rm='rm -I'
-alias sdcv='sdcv --color'
-alias shellcheck='shellcheck -x'
-alias tree='tree -aC | "$PAGER"'
-alias uname='uname -a'
-alias vkmark='vkmark --fullscreen'
-
# different name
alias a=alarm
# /dev/ttyACM0 can be in config file, or as environmantal variable, see /usr/share/doc/adafruit-ampy/README.md
@@ -73,18 +53,18 @@ alias ccp='ssh-add -l >/dev/null || ssh-add; o alacritty -e ssh studio; o alacri
#alias cr=curl
alias cri='curl -Is'
alias crig='curl -Is www.google.com'
-alias d='\sdcv --color'
+alias d='sdcv --color'
alias e='"$PAGER"'
# https://superuser.com/a/1202867
alias fdu="find . -maxdepth 1 -execdir du -sh '{}' \+ | sort -h"
alias g=git
alias gcd='git clone --depth=1'
-alias gr='\grep --color=auto -i'
-alias grr='\grep --color=auto -iIR'
+alias gr='grep --color=auto -i'
+alias grr='grep --color=auto -iIR'
alias h=htop
alias i=nsxiv
-alias l='\ls --color=auto -A --group-directories-first'
-alias ll='\ls --color=auto -lAh --group-directories-first'
+alias l='ls --color=auto -A --group-directories-first'
+alias ll='ls --color=auto -lAh --group-directories-first'
#alias lo=loop
alias lop='loop ping'
alias lopd='loop ping 9.9.9.9'
@@ -127,6 +107,26 @@ alias za='zoxide add'
#alias zq='zoxide query'
#alias zqi='zoxide query -i'
+# same name
+alias absolutely-proprietary='echo n | absolutely-proprietary -f'
+alias alsamixer='alsamixer -V all'
+# I can't find a quick and easy way to temperory disable cloc config file except to change config file. Using an alias can disable --vcs with just \cloc.
+alias cloc='cloc --vcs auto'
+alias diff='diff --color=auto'
+alias glmark2='glmark2 --fullscreen --annotate'
+alias grep='grep --color=auto'
+#alias info='info --vi-keys'
+alias ls='ls --color=auto'
+alias radeontop='radeontop -c'
+alias rem='rem -@'
+alias remind='remind -@'
+alias rm='rm -I'
+alias sdcv='sdcv --color'
+alias shellcheck='shellcheck -x'
+alias tree='tree -aC | "$PAGER"'
+alias uname='uname -a'
+alias vkmark='vkmark --fullscreen'
+
# depreciated
# all green color, no auto turn off color when pipe to nvim
#alias pactree='pactree -c'