Update & fix prompt issues

This commit is contained in:
Georgi Gardev
2024-03-07 10:48:02 +02:00
parent 0d0804a420
commit 3e062ad036
6 changed files with 14 additions and 7 deletions
+1
View File
@@ -2,3 +2,4 @@
.vim/bundle
.vim/undodir
Brewfile.lock.json
Caskfile.lock.json
+1
View File
@@ -58,6 +58,7 @@ vim:
zsh:
mkdir -p ~/.zsh/plugins
-git clone git@github.com:zsh-git-prompt/zsh-git-prompt.git ~/.zsh/plugins/zsh-git-prompt
-git clone git@github.com:arzzen/calc.plugin.zsh.git ~/.zsh/plugins/calc.plugin.zsh
-git clone git@github.com:softmoth/zsh-vim-mode.git ~/.zsh/plugins/zsh-vim-mode
-git clone https://github.com/lukechilds/zsh-better-npm-completion.git ~/.zsh/plugins/.zsh-better-npm-completion
+1
View File
@@ -5,6 +5,7 @@ brew 'bash-git-prompt'
brew 'bitwarden-cli'
brew 'coreutils'
brew 'docker'
brew 'eza'
brew 'findutils'
brew 'gh'
brew 'git'
+2 -1
View File
@@ -49,7 +49,8 @@ defaults write NSGlobalDomain NSAutomaticQuoteSubstitutionEnabled -bool false
defaults write NSGlobalDomain NSAutomaticSpellingCorrectionEnabled -bool false
# Set the timezone; see `sudo systemsetup -listtimezones` for other values
sudo systemsetup -settimezone "Europe/Sofia" > /dev/null
# This is throwing errors - investigate
# sudo systemsetup -settimezone "Europe/Sofia" > /dev/null
###############################################################################
# Trackpad, mouse, keyboard, Bluetooth accessories, and input #
+2 -1
View File
@@ -1,4 +1,5 @@
source $HOME/Git/zsh-git-prompt/zshrc.sh
GIT_PROMPT_EXECUTABLE="shell"
source $ZDOTDIR/plugins/zsh-git-prompt/zshrc.sh
function git_email_prompt() {
GIT_USER=$(git config user.email)
+7 -5
View File
@@ -1,10 +1,8 @@
ZDOTDIR=~/.zsh
source $ZDOTDIR/.zprompt
setopt AUTO_CD
setopt NO_CASE_GLOB
setopt GLOB_COMPLETE
setopt auto_cd
setopt no_case_glob
setopt glob_complete
setopt correct
setopt correct_all
@@ -75,3 +73,7 @@ autoload -Uz compinit && compinit -i
# Load bashcompinit for some old bash completions
autoload bashcompinit && bashcompinit
# Prompt
source $ZDOTDIR/.zprompt