From 6bbdbe073e993fb43003d89d7e5a27a1a8a36413 Mon Sep 17 00:00:00 2001 From: Leonardo Bishop Date: Wed, 25 Dec 2024 14:42:43 +0000 Subject: Update zsh --- zsh/.install.yml | 16 ++++------------ zsh/config/aliases.zsh | 3 +++ zsh/config/environment.zsh | 2 +- zsh/config/other/fzf.zsh | 3 +++ zsh/config/other/nvm.zsh | 1 + 5 files changed, 12 insertions(+), 13 deletions(-) create mode 100644 zsh/config/other/fzf.zsh create mode 100644 zsh/config/other/nvm.zsh diff --git a/zsh/.install.yml b/zsh/.install.yml index 0ea43db..9b3ce3d 100644 --- a/zsh/.install.yml +++ b/zsh/.install.yml @@ -3,16 +3,8 @@ steps: - !Link from: ".zshrc" to: "~/.zshrc" - recursive: false - !Link - from: "config/aliases.zsh" - to: "~/.config/zsh/aliases.zsh" - recursive: false - - !Link - from: "config/environment.zsh" - to: "~/.config/zsh/environment.zsh" - recursive: false - - !Link - from: "config/prompt.zsh" - to: "~/.config/zsh/prompt.zsh" - recursive: false \ No newline at end of file + from: "config" + to: "~/.config/zsh" + symbolic: true + diff --git a/zsh/config/aliases.zsh b/zsh/config/aliases.zsh index e57419a..bd1f175 100644 --- a/zsh/config/aliases.zsh +++ b/zsh/config/aliases.zsh @@ -18,3 +18,6 @@ alias lt="exa --tree --level=2" # ParUI alias pi="parui -p=yay" + +# Zsh +alias cathex="while read -r line; do echo -e $line; done" diff --git a/zsh/config/environment.zsh b/zsh/config/environment.zsh index cf76ed1..81f5f1c 100644 --- a/zsh/config/environment.zsh +++ b/zsh/config/environment.zsh @@ -6,7 +6,7 @@ ZSH_CONFIG=$HOME/.config/zsh export ZSH="$HOME/.oh-my-zsh" # User /bin -export PATH="$HOME/bin:$PATH" +export PATH="$HOME/bin:$PATH:/home/leonardo/.local/bin" # Exa colours export EXA_COLORS="uu=37:un=37:gu=37:gn=37:da=37" diff --git a/zsh/config/other/fzf.zsh b/zsh/config/other/fzf.zsh new file mode 100644 index 0000000..0a7f482 --- /dev/null +++ b/zsh/config/other/fzf.zsh @@ -0,0 +1,3 @@ +source /usr/share/fzf/key-bindings.zsh +source /usr/share/fzf/completion.zsh + diff --git a/zsh/config/other/nvm.zsh b/zsh/config/other/nvm.zsh new file mode 100644 index 0000000..b761aa2 --- /dev/null +++ b/zsh/config/other/nvm.zsh @@ -0,0 +1 @@ +source /usr/share/nvm/init-nvm.sh -- cgit v1.2.3-70-g09d2