Compare commits

...

3 Commits

3 changed files with 13 additions and 4 deletions

View File

@ -30,3 +30,5 @@ stow
tmux
yamllint
zoxide
zsh-autosuggestions
zsh-syntax-highlighting

View File

@ -2,6 +2,7 @@
alacritty
docker
font-fira-code-nerd-font
font-fira-mono-nerd-font
insomnia
netnewswire
raindropio

View File

@ -24,15 +24,16 @@ alias pandora="ssh root@pandora.cortex.io"
alias miranda="ssh root@miranda.cortex.io"
# ---- convenience commands ----
alias editShell="nvim ~/.zshrc"
alias editShell="vi ~/.zshrc"
alias sourceShell="source ~/.zshrc"
export NOMAD_ADDR=http://pandora.cortex.io:4646
export PATH="/opt/homebrew/opt/libpq/bin:$PATH"
# ---- Oh-My-Posh ----
if [ "$TERM_PROGRAM" != "Apple_Terminal" ]; then
eval "$(oh-my-posh init zsh --config ~/.config/oh-my-posh/theme.toml)"
if [ "$TERM_PROGRAM" != "Apple_Terminal" ] && [ "$TERM_PROGRAM" != "zed" ];
then
eval "$(oh-my-posh init zsh --config ~/.config/oh-my-posh/theme.toml)"
fi
# ---- Zoxide (better cd) ----
@ -41,8 +42,13 @@ eval "$(zoxide init zsh)"
# ---- Homebrew ----
eval "$(/opt/homebrew/bin/brew shellenv)"
# ---- ZSH Plugins ----
source $(brew --prefix)/share/zsh-autosuggestions/zsh-autosuggestions.zsh
source $(brew --prefix)/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
# ---- Auto Enter TMUX ----
if [ -z "$TMUX" ]
if [ -z "$TMUX" ] && [ "$TERM_PROGRAM" != "vscode" ] && [ "$TERM_PROGRAM" != "zed" ];
then
tmux attach -t TMUX || tmux new -s TMUX
fi