Update ZSH configurations
This commit is contained in:
5
profile/.profile.d/rust.sh
Normal file
5
profile/.profile.d/rust.sh
Normal file
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
if [ -e "$HOME/.cargo" ]; then
|
||||
source "$HOME/.cargo/env"
|
||||
fi
|
||||
@@ -1,13 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
case $(uname -s) in
|
||||
"Darwin")
|
||||
export ZSH_HIGHLIGHT_DIR=/opt/homebrew/share/zsh-syntax-highlighting
|
||||
export ZSH_HIGHLIGHT_HIGHLIGHTERS_DIR=/opt/homebrew/share/zsh-syntax-highlighting/highlighters
|
||||
;;
|
||||
"Linux")
|
||||
export ZSH_HIGHLIGHT_DIR=/usr/share/zsh-syntax-highlighting
|
||||
export ZSH_HIGHLIGHT_HIGHLIGHTERS_DIR=/usr/share/zsh-syntax-highlighting/highlighters
|
||||
export ZSH_AUTOSUGGESTIONS_DIR=/usr/share/zsh-autosuggestions
|
||||
;;
|
||||
esac
|
||||
Reference in New Issue
Block a user