From a9f57510d39ce23686053fe6a850740fc9b98fba Mon Sep 17 00:00:00 2001 From: Skladnayazebra Date: Sat, 21 Mar 2026 20:28:43 +0100 Subject: add "leave" command to logout from KDE --- zsh/index.zsh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'zsh/index.zsh') diff --git a/zsh/index.zsh b/zsh/index.zsh index e109b44..59d8712 100644 --- a/zsh/index.zsh +++ b/zsh/index.zsh @@ -11,21 +11,23 @@ autoload -Uz compinit compinit zstyle ':completion:*' matcher-list 'm:{a-z}={A-Za-z}' zstyle ':completion:*' menu select +# End lf lines added by compinstall source ~/.config/zsh/prompt.zsh - source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh alias t='tmux' alias n='nvim' +# dot at the beginning makes shell to cd into last dir selected in ranger alias rr='. ranger' alias lg=lazygit +# connect to my earbuds alias b='bluetoothctl connect E4:92:82:B5:80:1F' alias p='cd ~/projects' alias c='cd ~/.config' alias dark="lookandfeeltool -a org.kde.breezedark.desktop" alias light="lookandfeeltool -a org.kde.breeze.desktop" - +alias leave="qdbus6 org.kde.Shutdown /Shutdown logout" eval $(ssh-agent -s) >> /dev/null # Set up fzf key bindings and fuzzy completion -- cgit v1.3.1