mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-03-12 04:03:39 +00:00
Moved antigen.zsh to .local/bin, updated links
This commit is contained in:
@@ -23,7 +23,7 @@ function section_install
|
|||||||
bash "$DOTFILES/scripts/settler.sh" && echo "🎉 Done!"
|
bash "$DOTFILES/scripts/settler.sh" && echo "🎉 Done!"
|
||||||
;;
|
;;
|
||||||
antigen)
|
antigen)
|
||||||
curl -L git.io/antigen > "$DOTFILES/config/antigen.zsh" && echo "🎉 Done!"
|
curl -L git.io/antigen > "$DOTFILES/local/bin/antigen.zsh" && echo "🎉 Done!"
|
||||||
;;
|
;;
|
||||||
defaults)
|
defaults)
|
||||||
bash "$DOTFILES/scripts/set-defaults.sh" && echo "🎉 Done!"
|
bash "$DOTFILES/scripts/set-defaults.sh" && echo "🎉 Done!"
|
||||||
@@ -105,7 +105,7 @@ function section_dotfiles
|
|||||||
--space-redirects \
|
--space-redirects \
|
||||||
--func-next-line \
|
--func-next-line \
|
||||||
"$DOTFILES" \
|
"$DOTFILES" \
|
||||||
"$DOTFILES/local/bin/dotfiles" \
|
"$DOTFILES/local/bin/dfm" \
|
||||||
"$DOTFILES/local/bin/x-check-git-attributes" \
|
"$DOTFILES/local/bin/x-check-git-attributes" \
|
||||||
"$DOTFILES/local/bin/x-open-ports" \
|
"$DOTFILES/local/bin/x-open-ports" \
|
||||||
"$DOTFILES/config/alias" \
|
"$DOTFILES/config/alias" \
|
||||||
|
|||||||
@@ -69,7 +69,6 @@ handle_file_ln()
|
|||||||
handle_file_ln "$HOME/.dotfiles/bash_profile" "$HOME/.bash_profile"
|
handle_file_ln "$HOME/.dotfiles/bash_profile" "$HOME/.bash_profile"
|
||||||
handle_file_ln "$HOME/.dotfiles/bashrc" "$HOME/.bashrc"
|
handle_file_ln "$HOME/.dotfiles/bashrc" "$HOME/.bashrc"
|
||||||
handle_file_ln "$HOME/.dotfiles/config/alias" "$HOME/.config/alias"
|
handle_file_ln "$HOME/.dotfiles/config/alias" "$HOME/.config/alias"
|
||||||
handle_file_ln "$HOME/.dotfiles/config/antigen.zsh" "$HOME/.config/antigen.zsh"
|
|
||||||
handle_file_ln "$HOME/.dotfiles/config/exports" "$HOME/.config/exports"
|
handle_file_ln "$HOME/.dotfiles/config/exports" "$HOME/.config/exports"
|
||||||
handle_file_ln "$HOME/.dotfiles/config/functions" "$HOME/.config/functions"
|
handle_file_ln "$HOME/.dotfiles/config/functions" "$HOME/.config/functions"
|
||||||
handle_file_ln "$HOME/.dotfiles/config/gh/config.yml" "$HOME/.config/gh/config.yml"
|
handle_file_ln "$HOME/.dotfiles/config/gh/config.yml" "$HOME/.config/gh/config.yml"
|
||||||
@@ -78,7 +77,8 @@ handle_file_ln "$HOME/.dotfiles/config/git/gitignore" "$HOME/.config/git/gitigno
|
|||||||
handle_file_ln "$HOME/.dotfiles/config/wtf/config.yml" "$HOME/.config/wtf/config.yml"
|
handle_file_ln "$HOME/.dotfiles/config/wtf/config.yml" "$HOME/.config/wtf/config.yml"
|
||||||
handle_file_ln "$HOME/.dotfiles/git_profiles" "$HOME/.git_profiles"
|
handle_file_ln "$HOME/.dotfiles/git_profiles" "$HOME/.git_profiles"
|
||||||
handle_file_ln "$HOME/.dotfiles/huskyrc" "$HOME/.huskyrc"
|
handle_file_ln "$HOME/.dotfiles/huskyrc" "$HOME/.huskyrc"
|
||||||
handle_file_ln "$HOME/.dotfiles/local/bin/dotfiles" "$HOME/.local/bin/dotfiles"
|
handle_file_ln "$HOME/.dotfiles/local/bin/antigen.zsh" "$HOME/.local/bin/antigen.zsh"
|
||||||
|
handle_file_ln "$HOME/.dotfiles/local/bin/dfm" "$HOME/.local/bin/dfm"
|
||||||
handle_file_ln "$HOME/.dotfiles/local/bin/x-check-git-attributes" "$HOME/.local/bin/x-check-git-attributes"
|
handle_file_ln "$HOME/.dotfiles/local/bin/x-check-git-attributes" "$HOME/.local/bin/x-check-git-attributes"
|
||||||
handle_file_ln "$HOME/.dotfiles/local/bin/x-open-ports" "$HOME/.local/bin/x-open-ports"
|
handle_file_ln "$HOME/.dotfiles/local/bin/x-open-ports" "$HOME/.local/bin/x-open-ports"
|
||||||
handle_file_ln "$HOME/.dotfiles/rcrc" "$HOME/.rcrc"
|
handle_file_ln "$HOME/.dotfiles/rcrc" "$HOME/.rcrc"
|
||||||
|
|||||||
2
zshrc
2
zshrc
@@ -42,7 +42,7 @@ x-load-configs
|
|||||||
ssh-add -A 2>/dev/null;
|
ssh-add -A 2>/dev/null;
|
||||||
|
|
||||||
# Try to load antigen, if present
|
# Try to load antigen, if present
|
||||||
[[ -f "$HOME/.config/antigen.zsh" ]] && source "$HOME/.config/antigen.zsh"
|
[[ -f "$HOME/.local/bin/antigen.zsh" ]] && source "$HOME/.local/bin/antigen.zsh"
|
||||||
|
|
||||||
# antigen is present
|
# antigen is present
|
||||||
if command -v antigen &> /dev/null; then
|
if command -v antigen &> /dev/null; then
|
||||||
|
|||||||
Reference in New Issue
Block a user