From b458a728933719630a271f2b5b63ef3a3cf31229 Mon Sep 17 00:00:00 2001 From: Skladnayazebra Date: Tue, 7 Apr 2026 12:32:42 +0200 Subject: zsh: move alias to separate file; add pnpm alias --- zsh/alias.zsh | 15 +++++++++++++++ zsh/index.zsh | 16 +--------------- 2 files changed, 16 insertions(+), 15 deletions(-) create mode 100644 zsh/alias.zsh diff --git a/zsh/alias.zsh b/zsh/alias.zsh new file mode 100644 index 0000000..360fe86 --- /dev/null +++ b/zsh/alias.zsh @@ -0,0 +1,15 @@ +alias ls='ls --color=auto' +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" +alias o='xdg-open' +alias pn='pnpm' diff --git a/zsh/index.zsh b/zsh/index.zsh index d865ef2..0463c7e 100644 --- a/zsh/index.zsh +++ b/zsh/index.zsh @@ -20,23 +20,9 @@ zstyle ':completion:*:*:cdr:*:*' menu selection source ~/.config/zsh/prompt.zsh +source ~/.config/zsh/alias.zsh source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh -alias ls='ls --color=auto' -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" -alias o='xdg-open' - eval $(ssh-agent -s) >> /dev/null # Set up fzf key bindings and fuzzy completion source <(fzf --zsh) -- cgit v1.3.1