You've already forked dotfiles
fix: Removing npmrc (just not used), updating zshrc to remove
zsh-syntax-highlighting references and disabling keychain for now, adding a TODO to the deploy script for wezterm local config
This commit is contained in:
@@ -17,7 +17,7 @@ declare -A configs=(
|
|||||||
["nvim/snippets"]="$HOME/.config/nvim/"
|
["nvim/snippets"]="$HOME/.config/nvim/"
|
||||||
["tmux.conf"]="$HOME/.tmux.conf"
|
["tmux.conf"]="$HOME/.tmux.conf"
|
||||||
["wezterm.lua"]="$HOME/.config/wezterm/wezterm.lua"
|
["wezterm.lua"]="$HOME/.config/wezterm/wezterm.lua"
|
||||||
# ["wezterm.local_linux.lua"]="$HOME/.config/wezterm/local.lua"
|
# ["wezterm.local_linux.lua"]="$HOME/.config/wezterm/local.lua" # TODO: switch contents to elsewhere, be aware of OS, or refactor elsewise
|
||||||
["npmrc"]="$HOME/.npmrc"
|
["npmrc"]="$HOME/.npmrc"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
2
npmrc
2
npmrc
@@ -1,2 +0,0 @@
|
|||||||
# Set the prefix to the user directory for "global" installs as non-root
|
|
||||||
prefix=~/.local/
|
|
||||||
26
zsh/zshrc
26
zsh/zshrc
@@ -22,21 +22,15 @@ fi
|
|||||||
export ZSH="$HOME/.oh-my-zsh"
|
export ZSH="$HOME/.oh-my-zsh"
|
||||||
|
|
||||||
# Install the zsh-autosuggestions plugin if it doesn't exist
|
# Install the zsh-autosuggestions plugin if it doesn't exist
|
||||||
# if [ ! -d ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions ]
|
if [ ! -d ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions ]
|
||||||
# then
|
then
|
||||||
# git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
|
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
|
||||||
# fi
|
fi
|
||||||
|
|
||||||
# if [ ! -d ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting ]
|
|
||||||
# then
|
|
||||||
# git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
|
|
||||||
# fi
|
|
||||||
|
|
||||||
plugins=(
|
plugins=(
|
||||||
fzf
|
fzf
|
||||||
virtualenvwrapper
|
virtualenvwrapper
|
||||||
# zsh-autosuggestions
|
zsh-autosuggestions
|
||||||
# zsh-syntax-highlighting
|
|
||||||
)
|
)
|
||||||
|
|
||||||
# Disable the startup update checks
|
# Disable the startup update checks
|
||||||
@@ -69,10 +63,10 @@ zstyle ':completion:*:descriptions' format '%U%B%d%b%u'
|
|||||||
zstyle ':completion:*:warnings' format '%BNo matches for: %d%b'
|
zstyle ':completion:*:warnings' format '%BNo matches for: %d%b'
|
||||||
|
|
||||||
# Autoload keychain for ssh-agent handling if it is installed
|
# Autoload keychain for ssh-agent handling if it is installed
|
||||||
if command -v keychain &> /dev/null
|
# if command -v keychain &> /dev/null
|
||||||
then
|
# then
|
||||||
eval $(keychain --eval --quiet --nogui --noask)
|
# eval $(keychain --eval --quiet --nogui --noask)
|
||||||
fi
|
# fi
|
||||||
|
|
||||||
# TODO: Replace above with GPG agent
|
# TODO: Replace above with GPG agent
|
||||||
# GPG Agent handling of ssh key authorization and unlocks
|
# GPG Agent handling of ssh key authorization and unlocks
|
||||||
@@ -80,7 +74,6 @@ fi
|
|||||||
# Inclusion of files to extend the configuration
|
# Inclusion of files to extend the configuration
|
||||||
# From a theme to local specific changes, and grouping functions/aliases/exports
|
# From a theme to local specific changes, and grouping functions/aliases/exports
|
||||||
include_files=(
|
include_files=(
|
||||||
# "$HOME/.config/zsh/fb_theme.zsh"
|
|
||||||
"$HOME/.config/zsh/zsh_local.zsh"
|
"$HOME/.config/zsh/zsh_local.zsh"
|
||||||
"$HOME/.config/zsh/zsh_aliases.zsh"
|
"$HOME/.config/zsh/zsh_aliases.zsh"
|
||||||
"$HOME/.config/zsh/zsh_exports.zsh"
|
"$HOME/.config/zsh/zsh_exports.zsh"
|
||||||
@@ -90,6 +83,7 @@ include_files=(
|
|||||||
for file in $include_files; do
|
for file in $include_files; do
|
||||||
if [ ! -f $file ]
|
if [ ! -f $file ]
|
||||||
then
|
then
|
||||||
|
# Create files even if they aren't overriden in the environment
|
||||||
touch $file
|
touch $file
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user