atuin and jump now optional, won't be installed by default

This commit is contained in:
Anton Volnuhin 2023-05-27 06:46:27 +03:00
parent ce1d405bd8
commit 0bbc5e9c1e
3 changed files with 17 additions and 11 deletions

View File

@ -1,3 +1,3 @@
{{- if eq .chezmoi.os "darwin" }} {{- if eq .chezmoi.os "darwin" }}
private_Library Library
{{- end }} {{- end }}

View File

@ -6,7 +6,9 @@ set fish_color_valid_path
# Commands to run in interactive sessions can go here # Commands to run in interactive sessions can go here
if status is-interactive if status is-interactive
if type -q atuin
atuin init fish --disable-up-arrow | source atuin init fish --disable-up-arrow | source
end
# >>> conda initialize >>> # >>> conda initialize >>>
# !! Contents within this block are managed by 'conda init' !! # !! Contents within this block are managed by 'conda init' !!
@ -15,9 +17,11 @@ if status is-interactive
end end
# <<< conda initialize <<< # <<< conda initialize <<<
if type -q jump
# initialize jump cd # initialize jump cd
jump shell fish | source jump shell fish | source
end end
end
# aliases # aliases
alias b "bat -p --pager=never" alias b "bat -p --pager=never"

View File

@ -1,7 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
{{ if (and (eq .chezmoi.os "linux") (eq .chezmoi.osRelease.id "fedora")) -}} {{ if (and (eq .chezmoi.os "linux") (eq .chezmoi.osRelease.id "fedora")) -}}
sudo dnf install gpg git curl wget ripgrep fd-find unzip util-linux util-linux-user python3-pip cargo htop -y sudo dnf install gpg git curl wget ripgrep fd-find unzip util-linux util-linux-user python3-pip cargo go htop -y
sudo dnf install fish neovim -y sudo dnf install fish neovim -y
fish -c "curl -sL https://raw.githubusercontent.com/jorgebucaran/fisher/main/functions/fisher.fish | source && fisher install jorgebucaran/fisher" fish -c "curl -sL https://raw.githubusercontent.com/jorgebucaran/fisher/main/functions/fisher.fish | source && fisher install jorgebucaran/fisher"
@ -11,6 +11,8 @@ fish -c "fish_add_path -U ~/.cargo/bin"
chsh -s /usr/bin/fish chsh -s /usr/bin/fish
cargo install atuin #cargo install atuin
#go install jump
{{ end -}} {{ end -}}