Compare commits
3 Commits
d65c94d7ea
...
95ab5209b9
Author | SHA1 | Date | |
---|---|---|---|
95ab5209b9 | |||
de0a74edee | |||
07ca43212a |
2
brewlist
2
brewlist
@ -30,3 +30,5 @@ stow
|
||||
tmux
|
||||
yamllint
|
||||
zoxide
|
||||
zsh-autosuggestions
|
||||
zsh-syntax-highlighting
|
||||
|
1
casklist
1
casklist
@ -2,6 +2,7 @@
|
||||
alacritty
|
||||
docker
|
||||
font-fira-code-nerd-font
|
||||
font-fira-mono-nerd-font
|
||||
insomnia
|
||||
netnewswire
|
||||
raindropio
|
||||
|
12
zsh/.zshrc
12
zsh/.zshrc
@ -24,14 +24,15 @@ 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
|
||||
if [ "$TERM_PROGRAM" != "Apple_Terminal" ] && [ "$TERM_PROGRAM" != "zed" ];
|
||||
then
|
||||
eval "$(oh-my-posh init zsh --config ~/.config/oh-my-posh/theme.toml)"
|
||||
fi
|
||||
|
||||
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user