Setup the directory structure to handle both mac and linux, and stowing with only one command, well two, one for the OS specific dir as well.
This commit is contained in:
parent
5759f6a798
commit
bc87253453
65 changed files with 0 additions and 0 deletions
52
zsh/.zshrc
52
zsh/.zshrc
|
|
@ -1,52 +0,0 @@
|
|||
# Created by Zap installer
|
||||
[ -f "${XDG_DATA_HOME:-$HOME/.local/share}/zap/zap.zsh" ] && source "${XDG_DATA_HOME:-$HOME/.local/share}/zap/zap.zsh"
|
||||
plug "zsh-users/zsh-autosuggestions"
|
||||
plug "zap-zsh/supercharge"
|
||||
plug "zap-zsh/zap-prompt"
|
||||
plug "zsh-users/zsh-syntax-highlighting"
|
||||
plug "jeffreytse/zsh-vi-mode"
|
||||
|
||||
# Load and initialise completion system
|
||||
autoload -Uz compinit
|
||||
compinit
|
||||
|
||||
# Neovim
|
||||
export PATH=$HOME/local/nvim/bin:$PATH
|
||||
|
||||
# Catppuccin for zsh-syntax-highlighting
|
||||
source ~/.zsh/catppuccin_macchiato-zsh-syntax-highlighting.zsh
|
||||
# Catppuccin for fzf
|
||||
export FZF_DEFAULT_OPTS=" \
|
||||
--color=bg+:#313244,bg:#1e1e2e,spinner:#f5e0dc,hl:#f38ba8 \
|
||||
--color=fg:#cdd6f4,header:#f38ba8,info:#cba6f7,pointer:#f5e0dc \
|
||||
--color=marker:#f5e0dc,fg+:#cdd6f4,prompt:#cba6f7,hl+:#f38ba8"
|
||||
# Make sure to use the nightly version of Neovim in user space (still running pacman install as root)
|
||||
export PATH="$HOME/.local/nvim/bin:$PATH"
|
||||
|
||||
# Aliases
|
||||
## Eza
|
||||
alias ls="eza -a"
|
||||
alias ll="eza --long --header -a"
|
||||
alias tree="eza --tree --level=2"
|
||||
## Neovim
|
||||
alias vim="nvim"
|
||||
## Lazygit
|
||||
alias lgit="lazygit"
|
||||
## Fastfetch
|
||||
alias neofetch="fastfetch"
|
||||
## Bat
|
||||
alias cat="bat"
|
||||
## fzf
|
||||
alias fzf='fzf --preview "bat --color=always --style=numbers --line-range=:500 {}"'
|
||||
## wl-copy
|
||||
alias wlc="wl-copy"
|
||||
alias wlp="wl-paste"
|
||||
|
||||
eval "$(zoxide init zsh --cmd cd)"
|
||||
eval "$(starship init zsh)"
|
||||
|
||||
fastfetch
|
||||
|
||||
if [[ -z $ZELLIJ ]]; then
|
||||
zellij
|
||||
fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue