added alot
This commit is contained in:
10
.zshrc
10
.zshrc
@@ -1,6 +1,9 @@
|
||||
|
||||
ZINIT_HOME="${XDG_DATA_HOME:-${HOME}/.local/share}/zinit/zinit.git"
|
||||
|
||||
ZSH_AUTOSUGGEST_BUFFER_MAX_SIZE="20"
|
||||
ZSH_AUTOSUGGEST_USE_ASYNC=1
|
||||
|
||||
if [ ! -d "$ZINIT_HOME" ]; then
|
||||
mkdir -p "$(dirname $ZINIT_HOME)"
|
||||
git clone https://github.com/zdharma-continuum/zinit.git "$ZINIT_HOME"
|
||||
@@ -50,9 +53,10 @@ zstyle ':completion:*' list-colors "${(s.:.)LS_COLORS}"
|
||||
zstyle ':completion:*' menu no
|
||||
zstyle ':fzf-tab:complete:cd:*' fzf-preview 'ls --color $realpath'
|
||||
zstyle ':fzf-tab:complete:__zoxide_z:*' fzf-preview 'ls --color $realpath'
|
||||
|
||||
zstyle 'fzf-preview:complete:bat' fzf-preview "--color=always {} --preview-window '~3'"
|
||||
export EDITOR=nvim
|
||||
# Aliase
|
||||
alias update="sudo nix flake update --flake /etc/nixos/ &&sudo nixos-rebuild switch --flake /etc/nixos/"
|
||||
alias vim="nvim"
|
||||
alias cls="clear"
|
||||
alias femboy="echo '$USER is a femboy'"
|
||||
@@ -61,7 +65,9 @@ alias re="reboot"
|
||||
alias ls="exa"
|
||||
alias switchhack="fusee-nano ~/Downloads/switchhack/hekate_ctcaer_6.3.0.bin"
|
||||
alias ssh_t='(){ ssh $1 -t tmux;}'
|
||||
alias sshserver="ssh -i ~/.ssh/GlaServer00 glala@81.21.121.109"
|
||||
alias sshserver="ssh -i ~/.ssh/GlaServer00 glala@81.21.120.94"
|
||||
alias rmnixcache="sudo nix-collect-garbage --delete-older-than 1d"
|
||||
alias open="xdg-open"
|
||||
|
||||
eval "$(fzf --zsh)"
|
||||
eval "$(zoxide init --cmd cd zsh)"
|
||||
|
||||
Reference in New Issue
Block a user