config(zsh): more apps

main
sudo pacman -Syu 2024-02-10 23:56:53 +07:00
parent e8816229b7
commit 0d6da76150
2 changed files with 22 additions and 13 deletions

View File

@ -337,14 +337,7 @@ require("lazy").setup({
})
-- https://github.com/echasnovski/mini.nvim/blob/main/readmes/mini-comment.md
require("mini.comment").setup({
mappings = {
comment = "<D-/>",
comment_line = "<D-/>",
comment_visual = "<D-/>",
textobject = "<D-/>",
},
})
require("mini.comment").setup()
-- https://github.com/echasnovski/mini.nvim/blob/main/readmes/mini-completion.md
require("mini.completion").setup({

View File

@ -112,6 +112,27 @@ if command -v nnn &>/dev/null; then
export NNN_PLUG="p:-preview-tui"
fi
# https://github.com/ajeetdsouza/zoxide
if command -v zoxide &>/dev/null; then
eval "$(zoxide init zsh)"
fi
# https://github.com/atuinsh/atuin
if command -v atuin &>/dev/null; then
eval "$(atuin init zsh --disable-up-arrow --disable-ctrl-r)"
fi
# https://github.com/Schniz/fnm
if command -v fnm &>/dev/null; then
eval "$(fnm env --use-on-cd)"
fi
# Depend on your company
# https://github.com/ankitpokhrel/jira-cli
# Remember to jira init local not cloud
export JIRA_AUTH_TYPE=bearer
# https://github.com/talwat/pokeget-rs
rand_poke=$((RANDOM % 6))
if [[ $rand_poke -eq 0 ]]; then
@ -127,8 +148,3 @@ elif [[ $rand_poke -eq 4 ]]; then
elif [[ $rand_poke -eq 5 ]]; then
cat ~/.config/pokeget/squirtle.txt
fi
# Depend on your company
# https://github.com/ankitpokhrel/jira-cli
# Remember to jira init local not cloud
export JIRA_AUTH_TYPE=bearer