Initial commit
This commit is contained in:
4
config/.config/alacritty/alacritty.yml
Normal file
4
config/.config/alacritty/alacritty.yml
Normal file
@@ -0,0 +1,4 @@
|
||||
font:
|
||||
normal:
|
||||
family: Iosevka Nerd Font
|
||||
style: Regular
|
||||
12
config/.config/shell/sh/001-system-exports.sh
Normal file
12
config/.config/shell/sh/001-system-exports.sh
Normal file
@@ -0,0 +1,12 @@
|
||||
export XDG_CACHE_HOME="${XDG_CACHE_HOME:-$HOME/.cache}"
|
||||
export XDG_CONFIG_HOME="${XDG_CONFIG_HOME:-$HOME/.config}"
|
||||
export XDG_DATA_HOME="${XDG_DATA_HOME:-$HOME/.local/share}"
|
||||
|
||||
# editor and vim
|
||||
[[ -n "$(command -v nvim)" ]] && {
|
||||
export EDITOR='nvim'
|
||||
export VISUAL='nvim'
|
||||
} || {
|
||||
export EDITOR="vim"
|
||||
export VISUAL="vim"
|
||||
}
|
||||
7
config/.config/shell/sh/002-aliases.sh
Normal file
7
config/.config/shell/sh/002-aliases.sh
Normal file
@@ -0,0 +1,7 @@
|
||||
[[ -x "$(command -v exa)" ]] && {
|
||||
alias ll="exa --group-directories-first --color=auto --git -la"
|
||||
} || {
|
||||
alias ll="ls -alh --color=always --group-directories-first"
|
||||
}
|
||||
|
||||
[[ -x "$(command -v bat)" ]] && alias cat="bat"
|
||||
16
config/.config/shell/zsh/001-zsh-settings.zsh
Normal file
16
config/.config/shell/zsh/001-zsh-settings.zsh
Normal file
@@ -0,0 +1,16 @@
|
||||
HISTSIZE=10000
|
||||
SAVEHIST=10000
|
||||
|
||||
HISTFILE=$HOME/.cache/zsh/history
|
||||
mkdir -p $(dirname "$HISTFILE")
|
||||
|
||||
# https://www.commandlinux.com/man-page/man1/zshoptions.1.html
|
||||
setopt HIST_FCNTL_LOCK # Better file lock call with histfile
|
||||
setopt HIST_IGNORE_DUPS # Ignore command if duplicate of prev event
|
||||
setopt HIST_IGNORE_SPACE # Ignore command if starts with a space
|
||||
setopt HIST_EXPIRE_DUPS_FIRST # Expire duplicate entries first
|
||||
setopt SHARE_HISTORY # Share history between zsh sessions
|
||||
unsetopt EXTENDED_HISTORY # Make sure no timestamps in histfile
|
||||
|
||||
# Ignore case completion for zsh
|
||||
zstyle ':completion:*' matcher-list '' 'm:{a-z}={A-Z}' '+m:{A-Z}={a-z}'
|
||||
1723
config/.config/zsh/.p10k.zsh
Normal file
1723
config/.config/zsh/.p10k.zsh
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user