Compare commits
No commits in common. "ffaafb4533114cf7ace2f1da86519ede614abaec" and "d28895542301b775576d3f6b19bdeefe6150f405" have entirely different histories.
ffaafb4533
...
d288955423
14
zsh/.zshrc
14
zsh/.zshrc
@ -9,11 +9,12 @@ eval "$(pyenv init -)"
|
|||||||
eval "$(pyenv virtualenv-init -)"
|
eval "$(pyenv virtualenv-init -)"
|
||||||
|
|
||||||
# ---- Native Command Overwrites ----
|
# ---- Native Command Overwrites ----
|
||||||
/usr/bin/which -s nvim && alias vi="nvim" && alias vim="nvim" || echo "nvim not found, falling back to vi"
|
alias vi="nvim"
|
||||||
/usr/bin/which -s bat && alias cat="bat" || echo "bat not found, falling back to cat"
|
alias vim="nvim"
|
||||||
/usr/bin/which -s fd && alias find="fd -H" || echo "fd not found, falling back to find"
|
alias cat="bat"
|
||||||
/usr/bin/which -s zoxide && alias cd="z" || echo "zoxide not found, falling back to cd"
|
alias find="fd -H"
|
||||||
/usr/bin/which -s eza && alias ls="eza --color=always --git --no-filesize --icons=always --no-time --no-user --no-permissions" || echo "eza not found, falling back to ls"
|
alias ls="eza --color=always --git --no-filesize --icons=always --no-time --no-user --no-permissions"
|
||||||
|
alias cd="z"
|
||||||
|
|
||||||
# ---- SSH Shortcuts ----
|
# ---- SSH Shortcuts ----
|
||||||
alias pandora="ssh root@pandora.cortex.io"
|
alias pandora="ssh root@pandora.cortex.io"
|
||||||
@ -34,9 +35,6 @@ fi
|
|||||||
# ---- Zoxide (better cd) ----
|
# ---- Zoxide (better cd) ----
|
||||||
eval "$(zoxide init zsh)"
|
eval "$(zoxide init zsh)"
|
||||||
|
|
||||||
# ---- Homebrew ----
|
|
||||||
eval "$(/opt/homebrew/bin/brew shellenv)"
|
|
||||||
|
|
||||||
# ---- Auto Enter TMUX ----
|
# ---- Auto Enter TMUX ----
|
||||||
if [ -z "$TMUX" ]
|
if [ -z "$TMUX" ]
|
||||||
then
|
then
|
||||||
|
Loading…
Reference in New Issue
Block a user