Skip to content

Commit

Permalink
Fixing startup recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
bernardolm committed Jun 20, 2023
1 parent bbb6bdc commit 48af2ec
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion aliases
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,6 @@ alias vsdot='/snap/bin/code "${SYNC_DOTFILES}/vscode/dotfiles.code-workspace"'
alias watch-docker-all='watch -d -c -n 1 -x docker ps --all --format "table {{.Names}}\t{{.Ports}}\t{{.Image}}\t{{.Status}}"'
alias wget-force='wget -c --tries=100'
alias zhs='. $DOTFILES/zsh/zsh_history.zsh; zsh_history_sanitize'
alias zhsd='. $DOTFILES/zsh/zsh_history.zsh; SHELL_DEBUG=true zsh_history_sanitize'
alias zhsd='. $DOTFILES/zsh/zsh_history.zsh; zsh_history_sanitize'
alias zinit-purge='/bin/rm -rf ~/.zinit ~/.local/share/zinit'
alias zud='zinit self-update && zinit update --parallel'
5 changes: 3 additions & 2 deletions zsh/functions/zsh_plugins_install
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#!/usr/bin/env zsh

function zsh_plugins_install() {
SHELL_DEBUG=false
# current_shell_debug=$SHELL_DEBUG
# SHELL_DEBUG=true

local _zsh_plugins_list=($(zsh_plugins_list))

Expand All @@ -20,5 +21,5 @@ function zsh_plugins_install() {
log_debug "done"
done

SHELL_DEBUG=true
# SHELL_DEBUG=$current_shell_debug
}
4 changes: 2 additions & 2 deletions zsh/functions/zsh_plugins_load
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ function zsh_plugins_load() {
if [[ "$item" =~ '.*zsh-theme' ]]; then
log_debug "linking theme"
file=$(basename $item)
echo ln -sf "$item" "${ZSH}/custom/themes/${file}"
ln -sf "$item" "${ZSH}/custom/themes/${file}"
if [[ "$file" =~ "dracula" ]]; then
echo ln -sf \
ln -sf \
"$ZSH_HOME/plugins/dracula/zsh/lib/async.zsh" \
"$ZSH/custom/themes/lib/async.zsh"
fi
Expand Down
2 changes: 1 addition & 1 deletion zsh/startup/.zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ fi

. "${DOTFILES}/zsh/start"
. "${DOTFILES}/ohmyzsh/start"
. "${DOTFILES}/starship/start"
# . "${DOTFILES}/starship/start"

# . "${DOTFILES}/antigen/start"
# . "${DOTFILES}/dropbox/start"
Expand Down

0 comments on commit 48af2ec

Please sign in to comment.