Initial commit

This commit is contained in:
2023-05-28 22:16:39 +02:00
parent db55f5097f
commit 7d0f9f9f1d
4 changed files with 1748 additions and 0 deletions

38
zshrc Normal file
View File

@@ -0,0 +1,38 @@
### POWER10K
# https://github.com/romkatv/powerlevel10k
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
fi
source ~/.zsh/powerlevel10k/powerlevel10k.zsh-theme
#typeset -g POWERLEVEL9K_INSTANT_PROMPT=off
# zsh_autocompletion
source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh
export ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=#808080"
# zsh-syntax-highlighting
source ~/.zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
## ALIAS ##
# exa
alias ls="exa --icons --sort=type" # short, multi-line
alias lsa="exa -a --icons --sort=type" # short, multi-line
alias ll="exa -1a --icons --sort=type" # list, 1 per line
alias ld="ll --icons --sort=type" # ^^^, NOTE: Trying to move to this for alternate hand commands
alias la="exa -lagh --icons --sort=type" # list with info
alias lt="exa -a --tree --icons --level= --sort=type" # list with tree level 2
alias ltf="exa -a --tree --icons --sort=type" # list with tree
alias lat="exa -lagh --tree --icons --sort=type" # list with info and tree
# bat
alias cat='batcat --style="header" --paging=never'
alias catn='batcat --pager "less -RF"'
alias batn='batcat --pager "less -RF"'
# btop
alias top="btop --utf-force"
alias btop="btop --utf-force"
alias htop="btop --utf-force"