aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorbozo.kopic <bozo@kopic.xyz>2023-09-24 21:35:42 +0200
committerbozo.kopic <bozo@kopic.xyz>2023-09-24 21:35:42 +0200
commit9b7d09d161e3000c8c440059040348466b16811c (patch)
treea4b4b7329a0f95fcfe7a0ad19da9e422f2602653 /shell
parent670f643461f90874c0f7601ac3392a5a7df799d6 (diff)
.
Diffstat (limited to 'shell')
-rw-r--r--shell/.profile4
-rw-r--r--shell/zsh/.zshrc2
2 files changed, 5 insertions, 1 deletions
diff --git a/shell/.profile b/shell/.profile
index 7922bbd..bffc8c1 100644
--- a/shell/.profile
+++ b/shell/.profile
@@ -24,12 +24,14 @@ export QT_QPA_PLATFORMTHEME=qt5ct
export SSH_AUTH_SOCK=$XDG_RUNTIME_DIR/ssh-agent.socket
export VISUAL=nvim
-prepend_path ~/opt/python311/bin
prepend_path ~/opt/river/bin
prepend_path ~/opt/janet/bin
+prepend_path ~/opt/pkgsrc/bin
prepend_path ~/bin
export PATH
+[ -n "$(command -v luarocks)" ] && eval "$(luarocks path)"
+
# nix_profile_sh=~/.nix-profile/etc/profile.d/nix.sh
# [ -e $nix_profile_sh ] && . $nix_profile_sh
diff --git a/shell/zsh/.zshrc b/shell/zsh/.zshrc
index 83f69b7..debd4b0 100644
--- a/shell/zsh/.zshrc
+++ b/shell/zsh/.zshrc
@@ -25,6 +25,8 @@ PROMPT='[%F{green}%n%f@%m %F{green}%~%f$(__git_ps1 " (%s)")]$ '
[ -n "$(command -v broot)" ] && . ~/.dotfiles/shell/zsh/broot.zsh
+[ -n "$(command -v direnv)" ] && eval "$(direnv hook zsh)"
+
SYSTEM_PLUGINS=(/usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
/usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
/usr/share/zsh/plugins/zsh-history-substring-search/zsh-history-substring-search.zsh)