feat: Add common atuin install
This commit is contained in:
1
dependencies/homebrew.txt
vendored
1
dependencies/homebrew.txt
vendored
@@ -1,4 +1,3 @@
|
|||||||
atuin
|
|
||||||
direnv
|
direnv
|
||||||
fastfetch
|
fastfetch
|
||||||
fd
|
fd
|
||||||
|
|||||||
@@ -58,6 +58,11 @@ pushd tmux/.config/tmux/plugins
|
|||||||
git -C tpm pull || git clone git@github.com:tmux-plugins/tpm.git tpm
|
git -C tpm pull || git clone git@github.com:tmux-plugins/tpm.git tpm
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
if ! command -v atuin > /dev/null; then
|
||||||
|
echo "Installing Atuin"
|
||||||
|
bash <(curl --proto '=https' --tlsv1.2 -sSf https://setup.atuin.sh)
|
||||||
|
fi
|
||||||
|
|
||||||
echo "Linking files"
|
echo "Linking files"
|
||||||
stow --dotfiles -t ~ zsh
|
stow --dotfiles -t ~ zsh
|
||||||
stow --dotfiles -t ~ ruby
|
stow --dotfiles -t ~ ruby
|
||||||
|
|||||||
@@ -18,21 +18,23 @@ if command -v pyenv &>/dev/null; then
|
|||||||
eval "$(pyenv init -)"
|
eval "$(pyenv init -)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
autoload -Uz compinit
|
||||||
|
compinit
|
||||||
|
|
||||||
# ZOxide, cd alternative
|
# ZOxide, cd alternative
|
||||||
eval "$(zoxide init --cmd cd zsh)"
|
eval "$(zoxide init --cmd cd zsh)"
|
||||||
|
|
||||||
# atuin, shell command stats
|
# atuin, shell command stats
|
||||||
PATH="$HOME/.atuin/bin:$PATH"
|
PATH="$HOME/.atuin/bin:$PATH"
|
||||||
eval "$(atuin init zsh)"
|
eval "$(atuin init zsh)"
|
||||||
|
eval "$(atuin gen-completions --shell zsh)"
|
||||||
|
|
||||||
if type brew &>/dev/null; then
|
if type brew &>/dev/null; then
|
||||||
FPATH=$(brew --prefix)/share/zsh/site-functions:$FPATH
|
FPATH=$(brew --prefix)/share/zsh/site-functions:$FPATH
|
||||||
export PATH="/usr/local/sbin:$PATH"
|
export PATH="/usr/local/sbin:$PATH"
|
||||||
|
|
||||||
autoload -Uz compinit
|
|
||||||
compinit
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
# zsh-autosuggestions
|
# zsh-autosuggestions
|
||||||
case `uname` in
|
case `uname` in
|
||||||
Darwin)
|
Darwin)
|
||||||
@@ -80,11 +82,6 @@ case `uname` in
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
. "$HOME/.atuin/bin/env"
|
|
||||||
|
|
||||||
eval "$(atuin init zsh)"
|
|
||||||
eval "$(atuin gen-completions --shell zsh)"
|
|
||||||
|
|
||||||
# opencode
|
# opencode
|
||||||
export PATH=/home/myockey/.opencode/bin:$PATH
|
export PATH=/home/myockey/.opencode/bin:$PATH
|
||||||
# The following lines have been added by Docker Desktop to enable Docker CLI completions.
|
# The following lines have been added by Docker Desktop to enable Docker CLI completions.
|
||||||
|
|||||||
Reference in New Issue
Block a user