feat(zsh): removed fig
This commit is contained in:
17
.zshrc
17
.zshrc
@@ -1,5 +1,3 @@
|
|||||||
# Fig pre block. Keep at the top of this file.
|
|
||||||
[[ -f "$HOME/.fig/shell/zshrc.pre.zsh" ]] && builtin source "$HOME/.fig/shell/zshrc.pre.zsh"
|
|
||||||
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
|
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
|
||||||
# Initialization code that may require console input (password prompts, [y/n]
|
# Initialization code that may require console input (password prompts, [y/n]
|
||||||
# confirmations, etc.) must go above this block; everything else may go below.
|
# confirmations, etc.) must go above this block; everything else may go below.
|
||||||
@@ -84,6 +82,7 @@ ENABLE_CORRECTION="true"
|
|||||||
|
|
||||||
# Would you like to use another custom folder than $ZSH/custom?
|
# Would you like to use another custom folder than $ZSH/custom?
|
||||||
# ZSH_CUSTOM=/path/to/new-custom-folder
|
# ZSH_CUSTOM=/path/to/new-custom-folder
|
||||||
|
ZOXIDE_CMD_OVERRIDE="cd"
|
||||||
|
|
||||||
# Which plugins would you like to load?
|
# Which plugins would you like to load?
|
||||||
# Standard plugins can be found in $ZSH/plugins/
|
# Standard plugins can be found in $ZSH/plugins/
|
||||||
@@ -91,10 +90,11 @@ ENABLE_CORRECTION="true"
|
|||||||
# Example format: plugins=(rails git textmate ruby lighthouse)
|
# Example format: plugins=(rails git textmate ruby lighthouse)
|
||||||
# Add wisely, as too many plugins slow down shell startup.
|
# Add wisely, as too many plugins slow down shell startup.
|
||||||
plugins=(
|
plugins=(
|
||||||
npm
|
# npm
|
||||||
nvm
|
nvm
|
||||||
sudo
|
sudo
|
||||||
zoxide
|
zoxide
|
||||||
|
tldr
|
||||||
command-not-found
|
command-not-found
|
||||||
fzf
|
fzf
|
||||||
fzf-tab
|
fzf-tab
|
||||||
@@ -103,6 +103,9 @@ plugins=(
|
|||||||
zsh-syntax-highlighting
|
zsh-syntax-highlighting
|
||||||
)
|
)
|
||||||
|
|
||||||
|
# zstyle ':fzf-tab:complete:tldr:argument-1' fzf-preview 'tldr $word'
|
||||||
|
zstyle ':fzf-tab:complete:cd:*' fzf-preview 'eza -1 --color=always $realpath'
|
||||||
|
|
||||||
export ZDOTDIR=$ZSH/cache
|
export ZDOTDIR=$ZSH/cache
|
||||||
|
|
||||||
source $HOME/.config/contour/contour.zsh
|
source $HOME/.config/contour/contour.zsh
|
||||||
@@ -148,13 +151,9 @@ typeset -g POWERLEVEL9K_INSTANT_PROMPT=quiet
|
|||||||
# For a full list of active aliases, run `alias`.
|
# For a full list of active aliases, run `alias`.
|
||||||
|
|
||||||
# alias ohmyzsh="mate ~/.oh-my-zsh"
|
# alias ohmyzsh="mate ~/.oh-my-zsh"
|
||||||
alias dc="docker compose"
|
|
||||||
alias "docker-compose"="docker compose"
|
alias "docker-compose"="docker compose"
|
||||||
alias nnn="n"
|
alias nnn="n"
|
||||||
|
|
||||||
alias explorer="xdg-open"
|
|
||||||
|
|
||||||
alias cd="z"
|
|
||||||
alias ls="/bin/eza --icons"
|
alias ls="/bin/eza --icons"
|
||||||
alias tree="/bin/eza --icons -T"
|
alias tree="/bin/eza --icons -T"
|
||||||
alias bat="batcat --paging=never"
|
alias bat="batcat --paging=never"
|
||||||
@@ -164,7 +163,6 @@ alias curl="curlie"
|
|||||||
alias df="duf"
|
alias df="duf"
|
||||||
alias grep="ugrep"
|
alias grep="ugrep"
|
||||||
alias ping="prettyping"
|
alias ping="prettyping"
|
||||||
alias man="npx tldr --"
|
|
||||||
alias find="fzf"
|
alias find="fzf"
|
||||||
|
|
||||||
# Set personal aliases with autocomplete
|
# Set personal aliases with autocomplete
|
||||||
@@ -190,6 +188,3 @@ setopt HIST_IGNORE_SPACE # Dont record an entry starting with a space:
|
|||||||
setopt HIST_SAVE_NO_DUPS # Dont write duplicate entries in the history file:
|
setopt HIST_SAVE_NO_DUPS # Dont write duplicate entries in the history file:
|
||||||
setopt SHARE_HISTORY # Share history between all sessions:
|
setopt SHARE_HISTORY # Share history between all sessions:
|
||||||
unsetopt HIST_VERIFY # Execute commands using history (e.g.: using !$) immediatel:
|
unsetopt HIST_VERIFY # Execute commands using history (e.g.: using !$) immediatel:
|
||||||
|
|
||||||
# Fig post block. Keep at the bottom of this file.
|
|
||||||
[[ -f "$HOME/.fig/shell/zshrc.post.zsh" ]] && builtin source "$HOME/.fig/shell/zshrc.post.zsh"
|
|
||||||
|
|||||||
Reference in New Issue
Block a user