Skip to content

Commit

Permalink
chore: Updates the dotfiles after a fresh install.
Browse files Browse the repository at this point in the history
  • Loading branch information
Bjeaurn committed Mar 17, 2023
1 parent 5110953 commit 9151cd3
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
1 change: 1 addition & 0 deletions brew/brewfile
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ cask_args appdir: '/Applications'

cask 'bartender'
cask 'docker'
cask 'discord'
cask 'firefox'
cask 'font-open-sans'
cask 'font-fira-code'
Expand Down
18 changes: 12 additions & 6 deletions zsh/zshrc
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,15 @@ zstyle ':completion:*' matcher-list '' 'm:{a-zA-Z}={A-Za-z}' 'r:|[._-]=* r:|=*'
export CLICOLOR=1

# Auto-suggesions
source /usr/local/share/zsh-autosuggestions/zsh-autosuggestions.zsh
source /opt/homebrew/share/zsh-autosuggestions/zsh-autosuggestions.zsh
bindkey '^[[Z' autosuggest-accept # Shift-tab
bindkey "^[[3~" delete-char # Turns the `fn+backspace` key back into delete.

zle -N select_branch
bindkey "^g" select_branch

# Syntax highlighting (must be at the end of .zshrc!)
source /usr/local/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
source /opt/homebrew/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh

# Enable FZF
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
Expand All @@ -58,11 +58,17 @@ source /usr/local/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
# zle -N zle-line-init

###-tns-completion-start-###
if [ -f /Users/bjeaurn/.tnsrc ]; then
source /Users/bjeaurn/.tnsrc
if [ -f /Users/bjeaurn/.tnsrc ]; then
source /Users/bjeaurn/.tnsrc
fi
###-tns-completion-end-###

export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && . "$NVM_DIR/bash_completion" # This loads nvm bash_completion
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && . "$NVM_DIR/bash_completion" # This loads nvm bash_completion

# Load Angular CLI autocompletion.
source <(ng completion script)

# Load Kubectl autcompletion
source <(kubectl completion zsh)

0 comments on commit 9151cd3

Please sign in to comment.