summaryrefslogtreecommitdiff
path: root/.config/zsh
diff options
context:
space:
mode:
Diffstat (limited to '.config/zsh')
-rw-r--r--.config/zsh/.zshrc5
1 files changed, 3 insertions, 2 deletions
diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc
index 53b582a..383b94a 100644
--- a/.config/zsh/.zshrc
+++ b/.config/zsh/.zshrc
@@ -82,7 +82,7 @@ mkcd() {
f() {
tmp="$(mktemp -uq)"
- trap 'rm -f $tmp >/dev/null 2>&1 && trap - HUP INT QUIT TERM PWR EXIT' HUP INT QUIT TERM PWR EXIT
+ trap 'rm -f $tmp >/dev/null 2>&1 && trap - HUP INT QUIT TERM EXIT' HUP INT QUIT TERM EXIT
lf -single -last-dir-path="$tmp" "$@"
if [ -f "$tmp" ]; then
dir="$(cat "$tmp")"
@@ -98,4 +98,5 @@ f() {
alias gr='cd $(git rev-parse --show-cdup)'
# Load zsh-syntax-highlighting; should be last.
-source /usr/share/zsh/site-functions/zsh-syntax-highlighting.zsh 2>/dev/null
+source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh 2>/dev/null
+source /opt/homebrew/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh 2>/dev/null