add zed config/ add linux ssh/git config

This commit is contained in:
reonokiy 2024-09-20 12:13:52 +08:00
parent 410484752c
commit 2a34219c63
Signed by: reonokiy
SSH key fingerprint: SHA256:2VjKpUxMIe0QYY3OVnOMuPiB0X5pvrIpJ+UiyFhxtq0
8 changed files with 1514 additions and 5 deletions

View file

@ -78,10 +78,14 @@ fi
# homebrew config
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
if [[ -d "/home/linuxbrew/.linuxbrew/bin/brew" ]]; then
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
fi
source $(brew --prefix)/share/zsh-autosuggestions/zsh-autosuggestions.zsh
source $(brew --prefix)/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
if command -v brew &> /dev/null; then
source $(brew --prefix)/share/zsh-autosuggestions/zsh-autosuggestions.zsh
source $(brew --prefix)/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
fi
# micromamba
if command -v micromamba &> /dev/null; then
@ -142,9 +146,9 @@ if command -v pyenv &> /dev/null; then
eval "$(pyenv init -)"
fi
# nix config
# nix config
if [ -e $HOME/.nix-profile/etc/profile.d/nix.sh ]; then
. $HOME/.nix-profile/etc/profile.d/nix.sh;
. $HOME/.nix-profile/etc/profile.d/nix.sh;
fi
# editors