You've already forked dotfiles
fix: The quotations suggested by shellcheck are causing issues with
substitutions and creating new incorrect directories. Removing for now.
This commit is contained in:
12
zsh/zshrc
12
zsh/zshrc
@@ -24,9 +24,9 @@ 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
|
||||||
|
|
||||||
plugins=(
|
plugins=(
|
||||||
@@ -80,16 +80,16 @@ include_files=(
|
|||||||
)
|
)
|
||||||
|
|
||||||
for file in "${include_files[@]}"; do
|
for file in "${include_files[@]}"; do
|
||||||
if [ ! -f "$HOME/$file" ]
|
if [ ! -f $HOME/$file ]
|
||||||
then
|
then
|
||||||
# Create files even if they aren't overriden in the environment
|
# Create files even if they aren't overriden in the environment
|
||||||
touch "$HOME/$file"
|
touch $HOME/$file
|
||||||
fi
|
fi
|
||||||
|
|
||||||
source "$HOME/$file"
|
source $HOME/$file
|
||||||
done
|
done
|
||||||
|
|
||||||
source "$ZSH/oh-my-zsh.sh"
|
source $ZSH/oh-my-zsh.sh
|
||||||
|
|
||||||
# Call to zprof for startup timings
|
# Call to zprof for startup timings
|
||||||
# zprof
|
# zprof
|
||||||
|
|||||||
Reference in New Issue
Block a user