This commit is contained in:
Georgi Gardev
2024-03-05 22:30:48 +02:00
parent d720aa58c6
commit 91ee9a3087
2 changed files with 19 additions and 15 deletions
+4 -5
View File
@@ -11,17 +11,16 @@ alias ll='ls -alhFG'
alias la='ls -AG'
alias l='ls -CFG'
if test $(which zoxide); then
alias cd="z"
fi;
# if test $(which zoxide); then
# alias cd="z"
# fi;
# eza aliases, if available
if test $(which eza); then
eza_params=(
'--git' '--icons' '--group' '--group-directories-first'
'--time-style=relative' '--total-size'
'--time-style=relative'
)
alias ls='eza $eza_params -1'
alias l='eza --git-ignore $eza_params'
alias ll='eza --all --header --long $eza_params'
+15 -10
View File
@@ -2,7 +2,6 @@ ZDOTDIR=~/.zsh
source $ZDOTDIR/.zprompt
setopt AUTO_CD
setopt NO_CASE_GLOB
setopt GLOB_COMPLETE
@@ -12,8 +11,6 @@ setopt correct_all
setopt completeinword # not just at the end
autoload -Uz compinit && compinit
# --------
# History
@@ -43,15 +40,13 @@ setopt no_beep # Don't beep on command input error
fpath+=~/Git/dotfiles/functions
autoload extract
# Load bashcompinit for some old bash completions
autoload bashcompinit && bashcompinit
source $ZDOTDIR/.zshrc.local
source ~/.aliases
source ~/.aliases.local
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
[ -f $ZDOTDIR/.zshrc.local ] && source $ZDOTDIR/.zshrc.local
[ -f ~/.aliases ] && source ~/.aliases
[ -f ~/.aliases.local ] && source ~/.aliases.local
# --------
# Plugins
# --------
@@ -70,3 +65,13 @@ source "$ZDOTDIR/plugins/zsh-ssh/zsh-ssh.zsh"
# https://github.com/Tarrasch/zsh-bd
source "$ZDOTDIR/plugins/bd/bd.zsh"
# --------
# Comp init
# --------
autoload -Uz compinit && compinit -i
# Load bashcompinit for some old bash completions
autoload bashcompinit && bashcompinit