summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSkladnayazebra <skladnayazebra@gmail.com>2026-04-07 12:32:42 +0200
committerSkladnayazebra <skladnayazebra@gmail.com>2026-04-07 12:32:42 +0200
commitb458a728933719630a271f2b5b63ef3a3cf31229 (patch)
tree923ccd3f15a9b2aa5d37ebe508d56adcfcae31d2
parentb46bb02107e82161764f961bd06e55a11e0c5f68 (diff)
zsh: move alias to separate file; add pnpm alias
-rw-r--r--zsh/alias.zsh15
-rw-r--r--zsh/index.zsh16
2 files changed, 16 insertions, 15 deletions
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)