Compare commits
2 Commits
eb96b03704
...
6baa7c2641
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6baa7c2641
|
||
|
|
04985cfbb7
|
18
.zshrc
18
.zshrc
@@ -41,13 +41,12 @@ eval $(thefuck --alias)
|
|||||||
# Python
|
# Python
|
||||||
alias python='python3'
|
alias python='python3'
|
||||||
alias pip='pip3'
|
alias pip='pip3'
|
||||||
# Intel (Rosetta 2) Homebrew
|
|
||||||
alias ibrew='arch -x86_64 /usr/local/bin/brew'
|
|
||||||
|
|
||||||
# Case-insensitive autocomplete
|
# Case-insensitive autocomplete
|
||||||
zstyle ':completion:*' matcher-list '' 'm:{a-zA-Z}={A-Za-z}' 'r:|=*' 'l:|=* r:|=*'
|
zstyle ':completion:*' matcher-list '' 'm:{a-zA-Z}={A-Za-z}' 'r:|=*' 'l:|=* r:|=*'
|
||||||
autoload -Uz compinit && compinit
|
autoload -Uz compinit && compinit
|
||||||
|
|
||||||
|
# Powerlevel10k
|
||||||
zinit ice depth=1; zinit light romkatv/powerlevel10k
|
zinit ice depth=1; zinit light romkatv/powerlevel10k
|
||||||
|
|
||||||
# zsh-autosuggestions
|
# zsh-autosuggestions
|
||||||
@@ -62,6 +61,21 @@ bindkey '^[[A' history-substring-search-up
|
|||||||
bindkey '^[[B' history-substring-search-down
|
bindkey '^[[B' history-substring-search-down
|
||||||
export HISTORY_SUBSTRING_SEARCH_ENSURE_UNIQUE=true
|
export HISTORY_SUBSTRING_SEARCH_ENSURE_UNIQUE=true
|
||||||
|
|
||||||
|
########## OS-Specific ########################################################
|
||||||
|
|
||||||
|
if [[ "$OSTYPE" == "linux-gnu"* ]]; then
|
||||||
|
##### Linux
|
||||||
|
|
||||||
|
elif [[ "$OSTYPE" == "darwin"* ]]; then
|
||||||
|
##### macOS
|
||||||
|
### Aliases
|
||||||
|
# Intel (Rosetta 2) Homebrew
|
||||||
|
alias ibrew='arch -x86_64 /usr/local/bin/brew'
|
||||||
|
else
|
||||||
|
##### Unknown
|
||||||
|
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
########## pnpm ###############################################################
|
########## pnpm ###############################################################
|
||||||
export PNPM_HOME="/Users/porridge/Library/pnpm"
|
export PNPM_HOME="/Users/porridge/Library/pnpm"
|
||||||
|
|||||||
Reference in New Issue
Block a user