mirror of
https://github.com/GeorgeSG/dotfiles.git
synced 2026-09-05 00:48:45 +00:00
Update & fix prompt issues
This commit is contained in:
@@ -2,3 +2,4 @@
|
||||
.vim/bundle
|
||||
.vim/undodir
|
||||
Brewfile.lock.json
|
||||
Caskfile.lock.json
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -5,6 +5,7 @@ brew 'bash-git-prompt'
|
||||
brew 'bitwarden-cli'
|
||||
brew 'coreutils'
|
||||
brew 'docker'
|
||||
brew 'eza'
|
||||
brew 'findutils'
|
||||
brew 'gh'
|
||||
brew 'git'
|
||||
|
||||
@@ -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
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user