Merge remote-tracking branch 'origin/main'
This commit is contained in:
commit
e8bdd58014
5 changed files with 6 additions and 27 deletions
|
@ -86,10 +86,6 @@ apply = ["defer"]
|
|||
local = "~/.zsh/plugins"
|
||||
apply = ["defer"]
|
||||
|
||||
[plugins.thefuck]
|
||||
local = "~/.zsh/plugins"
|
||||
apply = ["defer"]
|
||||
|
||||
# This works best if it is placed last.
|
||||
[plugins.compinit]
|
||||
local = "~/.zsh/plugins"
|
||||
|
@ -98,10 +94,6 @@ apply = ["defer"]
|
|||
# Plugins that are even more deferred
|
||||
# -----------------------------------
|
||||
|
||||
[plugins.github-copilot]
|
||||
local = "~/.zsh/plugins"
|
||||
apply = ["defer-more"]
|
||||
|
||||
[plugins.ngrok]
|
||||
local = "~/.zsh/plugins"
|
||||
apply = ["defer-more"]
|
||||
|
|
|
@ -2,5 +2,5 @@
|
|||
|
||||
# Setup Fast Node Manager
|
||||
if (( ${+commands[fnm]} )); then
|
||||
eval "$(fnm env --use-on-cd)"
|
||||
eval "$(fnm env --use-on-cd --shell zsh)"
|
||||
fi
|
||||
|
|
|
@ -1,10 +0,0 @@
|
|||
#!/usr/bin/env zsh
|
||||
|
||||
# Setup GitHub Copilot
|
||||
# first check we even have the genereic `gh` command
|
||||
if (( ${+commands[gh]} )); then
|
||||
# Now check we have the copilot plugin installed with `gh`
|
||||
if gh extension list | rg copilot -c > /dev/null; then
|
||||
eval "$(gh copilot alias -- zsh)"
|
||||
fi
|
||||
fi
|
|
@ -1,6 +0,0 @@
|
|||
#!/usr/bin/env zsh
|
||||
|
||||
# Init the fuck
|
||||
if (( ${+commands[thefuck]} )); then
|
||||
eval "$(thefuck --alias)"
|
||||
fi
|
|
@ -142,8 +142,11 @@ zstyle ':vcs_info:git*' stagedstr '+'
|
|||
# but can be slow on large repos
|
||||
zstyle ':vcs_info:*:*' check-for-changes true
|
||||
|
||||
# Set the right prompt to the vcs_info message
|
||||
RPROMPT='%F{8}${vcs_info_msg_0_}'
|
||||
# First show the Loading indicator in the right prompt if shell plugins are still loading
|
||||
RPROMPT='%F{8}$(if [[ -n $SHELL_LOADING ]]; then echo "Loading... "; fi)'
|
||||
|
||||
# Then we can also show the git branch
|
||||
RPROMPT+='${vcs_info_msg_0_}'
|
||||
|
||||
# First set a dot that changes colour on success/fail or previous command
|
||||
PROMPT='%(?.%F{blue}⏺.%F{red}⏺)%f '
|
||||
|
|
Loading…
Add table
Reference in a new issue