feat: bd alias

This commit is contained in:
ange 2024-05-15 20:34:26 +02:00
parent 127a4f372f
commit b8a48c2440
Signed by: ange
GPG Key ID: 9E0C4157BB7BEB1D
5 changed files with 8 additions and 4 deletions

@ -1 +1 @@
Subproject commit e9be6bb7a78cd44b9183ede4627d2bfea4f301f0
Subproject commit 6f6bb8065567b56c42e283b06e8a1c670c0092a1

@ -1 +1 @@
Subproject commit f224fef9d28e1fd30ccd9a9c374ced2546dde6ea
Subproject commit aa0c7dd29631ee8c2df738d99bd33b762b3a6e22

View File

@ -3,7 +3,7 @@ export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)"
[ -z "$DISPLAY" ] && [ "$XDG_VTNR" = 1 ] && {
GUILOG="$HOME/.local/share/xorg/gui.log"
mv -f "$GUILOG" "$GUILOG.old"
mv -f "$GUILOG" "$GUILOG.old" || true
export XDG_CURRENT_DESKTOP=Unity
exec startx &> "$GUILOG"

View File

@ -48,3 +48,7 @@ alias diff='diff --color' \
alias feh='feh --auto-zoom --scale-down'
alias xmr='monero-wallet-cli --daemon-address monero.maby.dev:18081 --wallet-file /home/ange/.config/monero/ange --trusted-daemon --log-file=/tmp/monero-wallet-cli.log'
function bd() {
echo - "$@" | base64 -d; echo
}

View File

@ -12,7 +12,7 @@ if (( ${+terminfo[kcuu1]} )) && (( ${+terminfo[kcud1]} )); then
autoload -Uz up-line-or-beginning-search; zle -N up-line-or-beginning-search
autoload -Uz down-line-or-beginning-search; zle -N down-line-or-beginning-search
bindkey -- "${terminfo[kcuu1]}" up-line-or-beginning-search
bindkey -M viins "${terminfo[kcud1]}" down-line-or-beginning-search
bindkey -- "${terminfo[kcud1]}" down-line-or-beginning-search
fi
# Home/End