diff options
author | Xiao Pan <xyz@flylightning.xyz> | 2025-09-02 13:18:23 +0800 |
---|---|---|
committer | Xiao Pan <xyz@flylightning.xyz> | 2025-09-02 13:42:47 +0800 |
commit | 56d3feed1811ff593cbcb0af985fcdd457011a5d (patch) | |
tree | 3aa04cc0c2125b803d0f63eab042c9c4b94497fb | |
parent | e4961d805af9da097496cfc3c6d8034e1bd4ae06 (diff) |
.bashrc more aliases
-rw-r--r-- | home/xyz/.bashrc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/home/xyz/.bashrc b/home/xyz/.bashrc index c61dcc78..55ae69a0 100644 --- a/home/xyz/.bashrc +++ b/home/xyz/.bashrc @@ -75,7 +75,9 @@ 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 +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' @@ -96,6 +98,8 @@ alias y=systemctl alias yd='systemctl list-dependencies --all' alias ydr='systemctl list-dependencies --all --reverse' alias ye='systemctl list-unit-files --state=enabled' +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' |