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
|
||||
fastfetch
|
||||
fd
|
||||
|
||||
@@ -58,6 +58,11 @@ pushd tmux/.config/tmux/plugins
|
||||
git -C tpm pull || git clone git@github.com:tmux-plugins/tpm.git tpm
|
||||
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"
|
||||
stow --dotfiles -t ~ zsh
|
||||
stow --dotfiles -t ~ ruby
|
||||
|
||||
@@ -18,21 +18,23 @@ if command -v pyenv &>/dev/null; then
|
||||
eval "$(pyenv init -)"
|
||||
fi
|
||||
|
||||
autoload -Uz compinit
|
||||
compinit
|
||||
|
||||
# ZOxide, cd alternative
|
||||
eval "$(zoxide init --cmd cd zsh)"
|
||||
|
||||
# atuin, shell command stats
|
||||
PATH="$HOME/.atuin/bin:$PATH"
|
||||
eval "$(atuin init zsh)"
|
||||
eval "$(atuin gen-completions --shell zsh)"
|
||||
|
||||
if type brew &>/dev/null; then
|
||||
FPATH=$(brew --prefix)/share/zsh/site-functions:$FPATH
|
||||
export PATH="/usr/local/sbin:$PATH"
|
||||
|
||||
autoload -Uz compinit
|
||||
compinit
|
||||
fi
|
||||
|
||||
|
||||
# zsh-autosuggestions
|
||||
case `uname` in
|
||||
Darwin)
|
||||
@@ -80,11 +82,6 @@ case `uname` in
|
||||
;;
|
||||
esac
|
||||
|
||||
. "$HOME/.atuin/bin/env"
|
||||
|
||||
eval "$(atuin init zsh)"
|
||||
eval "$(atuin gen-completions --shell zsh)"
|
||||
|
||||
# opencode
|
||||
export PATH=/home/myockey/.opencode/bin:$PATH
|
||||
# The following lines have been added by Docker Desktop to enable Docker CLI completions.
|
||||
|
||||
Reference in New Issue
Block a user