added bat and theme to config
This commit is contained in:
2048
.config/bat/themes/Catppuccin Mocha.tmTheme
Normal file
2048
.config/bat/themes/Catppuccin Mocha.tmTheme
Normal file
File diff suppressed because it is too large
Load Diff
25
.zshrc
25
.zshrc
@@ -12,16 +12,37 @@ autoload -Uz compinit
|
|||||||
compinit
|
compinit
|
||||||
# End of lines added by compinstall
|
# End of lines added by compinstall
|
||||||
|
|
||||||
|
export EDITOR=nvim
|
||||||
|
|
||||||
|
alias cp='cp --reflink=auto'
|
||||||
|
alias grep='grep --color=auto'
|
||||||
|
alias ls='ls --color=auto --file-type'
|
||||||
|
alias cat=bat
|
||||||
|
export BAT_THEME="Catppuccin Mocha"
|
||||||
alias vim=nvim
|
alias vim=nvim
|
||||||
alias vi=nvim
|
alias vi=nvim
|
||||||
alias dotfiles='/usr/bin/git --git-dir=$HOME/.dotfiles --work-tree=$HOME'
|
alias dotfiles='/usr/bin/git --git-dir=$HOME/.dotfiles --work-tree=$HOME'
|
||||||
|
|
||||||
|
eval "$(fzf --zsh)"
|
||||||
export FZF_DEFAULT_OPTS=" \
|
export FZF_DEFAULT_OPTS=" \
|
||||||
--color=bg+:#313244,bg:#1e1e2e,spinner:#f5e0dc,hl:#f38ba8 \
|
--color=bg+:#313244,bg:#1e1e2e,spinner:#f5e0dc,hl:#f38ba8 \
|
||||||
--color=fg:#cdd6f4,header:#f38ba8,info:#cba6f7,pointer:#f5e0dc \
|
--color=fg:#cdd6f4,header:#f38ba8,info:#cba6f7,pointer:#f5e0dc \
|
||||||
--color=marker:#f5e0dc,fg+:#cdd6f4,prompt:#cba6f7,hl+:#f38ba8"
|
--color=marker:#f5e0dc,fg+:#cdd6f4,prompt:#cba6f7,hl+:#f38ba8"
|
||||||
source <(fzf --zsh)
|
export FZF_DEFAULT_COMMAND="fd --hidden --strip-cwd-prefix --exclude .git --exclude .npm --exclude .local/share --exclude .cache --exclude .mozilla"
|
||||||
|
export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND"
|
||||||
|
export FZF_ALT_C_COMMAND="$FZF_DEFAULT_COMMAND --type=d"
|
||||||
|
|
||||||
|
_fzf_compgen_path() {
|
||||||
|
fd --hidden --exclude .git . "$1"
|
||||||
|
}
|
||||||
|
|
||||||
|
_fzf_compgen_dir() {
|
||||||
|
fd --type=d --hidden --exclude .git . "$1"
|
||||||
|
}
|
||||||
|
|
||||||
|
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
|
||||||
|
|
||||||
export STARSHIP_CONFIG="$HOME/.config/starship/config.toml"
|
export STARSHIP_CONFIG="$HOME/.config/starship/config.toml"
|
||||||
eval "$(starship init zsh)"
|
eval "$(starship init zsh)"
|
||||||
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
|
|
||||||
neofetch
|
neofetch
|
||||||
|
|||||||
Reference in New Issue
Block a user