Compare commits

...

2 Commits

Author SHA1 Message Date
Alyxia Sother 9d05d65759
[zsh] Fix ls on macOS 2023-02-08 12:33:11 +01:00
Alyxia Sother c4e5eba65a
[zsh] Fix plugin timer positioning 2023-02-08 12:32:43 +01:00
3 changed files with 16 additions and 2 deletions

View File

@ -1 +1,9 @@
alias welcome="welcome --extra-logos-dir $K_ZSH_DOTFILES/../script-resources/welcome/logos"
if (( _is_macos )); then
if command_exists exa; then
alias ls="exa --classify --group-directories-first"
else
alias ls="ls --group-directories-first --color=auto"
fi
fi

View File

@ -1,9 +1,9 @@
#!/usr/bin/env zsh
_plugin() {
_perf_timer_start "plugin $1"
[ -z "$DOTFILES_LOAD_SILENT" ] && _perf_timer_start "plugin $1"
plugin "$@"
_perf_timer_stop "plugin $1"
[ -z "$DOTFILES_LOAD_SILENT" ] && _perf_timer_stop "plugin $1"
}
_plugin gitio 'denysdovhan/gitio-zsh'

View File

@ -1,5 +1,7 @@
#!/usr/bin/env zsh
DOTFILES_DISABLE_WELCOME=1
# Get this file's current directory and source Dima's zshrc from there
K_ZSH_DOTFILES="$( dirname "$( readlink -f "$0" )" )"
source $K_ZSH_DOTFILES/../dmitmel-dotfiles/zsh/zshrc
@ -13,3 +15,7 @@ if [[ -d "$K_ZSH_DOTFILES/custom" ]]; then
source "$script"
done
fi
if [[ -z "$KDOTFILES_DISABLE_WELCOME" && -z "$POETRY_ACTIVE" ]]; then
welcome
fi