Initial commit
This commit is contained in:
38
zshrc
Normal file
38
zshrc
Normal 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"
|
||||
|
||||
Reference in New Issue
Block a user