summaryrefslogtreecommitdiff
path: root/home/xyz
diff options
context:
space:
mode:
Diffstat (limited to 'home/xyz')
-rw-r--r--home/xyz/.bashrc14
-rw-r--r--home/xyz/.config/myconf/pacman_Qqne4
2 files changed, 16 insertions, 2 deletions
diff --git a/home/xyz/.bashrc b/home/xyz/.bashrc
index 261ebba9..ad78be64 100644
--- a/home/xyz/.bashrc
+++ b/home/xyz/.bashrc
@@ -71,7 +71,12 @@ alias c=cfg
alias cri='curl -Is'
alias crig='curl -Is www.google.com'
alias d='sdcv --color'
-alias e='"$PAGER"'
+# Using '"$PAGER"' will cause complete-alias unable to complete "e <tab>" and
+# "e --<tab>". I don't know why alias v='"$EDITOR"' does not have this issue, I
+# guess maybe it is related to less has some fzf completion? see `complete -p
+# less` output is "complete -F _fzf_path_completion less". Temporary ignore
+# shellcheck warnings about this if not met any issues.
+alias e="$PAGER"
# https://superuser.com/a/1202867
alias fdu="find . -maxdepth 1 -execdir du -sh '{}' \+ | sort -h"
alias g=git
@@ -88,7 +93,10 @@ alias ll='ls --color=auto -lAh --group-directories-first'
alias lop='loop ping'
alias lopd='loop ping 9.9.9.9'
alias m=man
+alias mpf='mpra -c "$HOME/programs/repos/fly/any/fsh-git"; sudo pacman -Sy fsh-git --noconfirm'
alias p=pacman
+# Pacman Qqne Redirect
+alias pqr='pacman -Qqne > "$XDG_CONFIG_HOME/myconf/pacman_Qqne"; pacman -Qqme > "$XDG_CONFIG_HOME/myconf/pacman_Qqme"'
alias pt=pactree
alias pu=paru
alias qre='qrencode -t utf8i -m 1'
@@ -109,6 +117,9 @@ alias y=systemctl
alias yd='systemctl list-dependencies --all'
alias ydr='systemctl list-dependencies --all --reverse'
alias ye='systemctl list-unit-files --state=enabled'
+# sYstemctl Enabled Redirect
+alias yer='systemctl list-unit-files --state=enabled > "$XDG_CONFIG_HOME/myconf/sye"; systemctl --user list-unit-files --state=enabled > "$XDG_CONFIG_HOME/myconf/syue"'
+alias yr='systemctl restart'
alias ys='systemctl status'
alias yu='systemctl --user'
alias yue='systemctl --user list-unit-files --state=enabled'
@@ -127,6 +138,7 @@ alias vrm='"$EDITOR" "$XDG_DOCUMENTS_DIR/notes/others/recurring_maintenance.md"'
alias vt='"$EDITOR" "$XDG_DOCUMENTS_DIR/notes/others/tmp_mobile_notes.md"'
alias xmr='monero-wallet-cli --config-file="$HOME/.bitmonero/monero-wallet-cli.conf"'
alias xmrds='monerod status; monerod print_net_stats'
+alias xr='xset r rate 250 30'
alias za='zoxide add'
#alias zq='zoxide query'
#alias zqi='zoxide query -i'
diff --git a/home/xyz/.config/myconf/pacman_Qqne b/home/xyz/.config/myconf/pacman_Qqne
index 9980953b..ab3666df 100644
--- a/home/xyz/.config/myconf/pacman_Qqne
+++ b/home/xyz/.config/myconf/pacman_Qqne
@@ -9,6 +9,7 @@ base-devel
bash-completion
bcprov
bluez-utils
+bpf
browserpass
browserpass-firefox
busybox
@@ -108,7 +109,8 @@ libva-utils
libvdpau-va-gl
linux
linux-docs
-linux-firmware
+linux-firmware-intel
+linux-firmware-realtek
linux-headers
llvm
lostfiles