Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ajustes para Ubuntu #5

Open
wants to merge 46 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
55e702b
Updates
dlanileonardo Aug 8, 2023
907c074
Updates
dlanileonardo Aug 10, 2023
0403852
Updates
dlanileonardo Aug 15, 2023
9866ea1
Dotfiles
dlanileonardo Aug 21, 2023
57d20b7
Dotfiles
dlanileonardo Aug 21, 2023
80d1729
Neovim
dlanileonardo Aug 25, 2023
03b937f
Ajustes para o Novo Command Center
dlanileonardo Aug 29, 2023
8c476c2
Ajustes Neovide
dlanileonardo Aug 29, 2023
cc37145
Ajustes Neovim
dlanileonardo Aug 30, 2023
a36930a
Ajustes Neovim
dlanileonardo Aug 30, 2023
ae1ca39
Lazygit
dlanileonardo Sep 4, 2023
20b2c97
Ajustes no Toggleterm
dlanileonardo Sep 4, 2023
4778c44
Updates
dlanileonardo Sep 5, 2023
d221f9f
Updates
dlanileonardo Sep 14, 2023
e7b00e1
Neovim
dlanileonardo Sep 14, 2023
879add3
Neovim
dlanileonardo Sep 15, 2023
fa3699e
Updates
dlanileonardo Sep 18, 2023
4e119e6
Updates
dlanileonardo Sep 19, 2023
23164a3
Updates
dlanileonardo Oct 10, 2023
9e3c661
Updates
dlanileonardo Oct 10, 2023
242cbdd
Updates
dlanileonardo Oct 11, 2023
5da46b0
Updates
dlanileonardo Oct 26, 2023
79836fb
Updates
dlanileonardo Oct 31, 2023
45d5417
Updates
dlanileonardo Nov 30, 2023
ae24b5c
Updates dotfiles
dlanileonardo Feb 5, 2024
3796370
Remove LVIM
dlanileonardo Feb 14, 2024
1642b81
Updates nos pacotes
dlanileonardo Mar 28, 2024
e76ea6e
Ajuste no Nvim
dlanileonardo Apr 9, 2024
514f2db
Updates
dlanileonardo May 7, 2024
fbac181
Melhorias no nvim
dlanileonardo Jun 20, 2024
79ba868
Updates
dlanileonardo Jun 21, 2024
4a600a9
Lazyvim Puro
dlanileonardo Jun 22, 2024
729c221
Lazyvim Puro
dlanileonardo Jun 22, 2024
e6c4de8
Lazyvim Puro
dlanileonardo Jun 23, 2024
34f8c14
Melhorias
dlanileonardo Jul 12, 2024
e6ce7ae
Updates
dlanileonardo Jul 14, 2024
6c57575
Updates
dlanileonardo Jul 14, 2024
14ded4a
Updates
dlanileonardo Jul 14, 2024
389d838
Updates
dlanileonardo Jul 15, 2024
f699a33
Melhorias no neovim
dlanileonardo Jul 21, 2024
a717a30
Atualizações
dlanileonardo Aug 1, 2024
614e8b9
Configs
dlanileonardo Sep 9, 2024
3f8032b
Updates Plugins
dlanileonardo Oct 1, 2024
83d3e54
Updates
dlanileonardo Oct 7, 2024
eda1f56
Colors
dlanileonardo Nov 7, 2024
0ccb066
Fix v13
dlanileonardo Dec 16, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ruby 3.2.2
ruby 3.3.3
10 changes: 10 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -136,14 +136,24 @@ namespace 'dot' do
sp1 = @multi_spinner.register '[:spinner] Dependencies'
sp1.auto_spin

run_apt_get 'asdf', lvl: 1
run_apt_get 'autoconf', lvl: 1
run_apt_get 'automake', lvl: 1
run_apt_get 'asciinema', lvl: 1
run_apt_get 'cmake', lvl: 1
run_apt_get 'cmatrix', lvl: 1
run_apt_get 'git-delta', lvl: 1
run_apt_get 'git-fixup', lvl: 1
run_apt_get 'gitup', lvl: 1
run_apt_get 'fzf', lvl: 1
run_apt_get 'bat', lvl: 1
run_apt_get 'fd', lvl: 1
run_apt_get 'git-extras', lvl: 1
run_apt_get 'neofetch', lvl: 1
run_apt_get 'bat', lvl: 1
run_apt_get 'neovim', lvl: 1
run_apt_get 'lazydocker', lvl: 1
run_apt_get 'lazygit', lvl: 1

sp1.success 'COMPLETE'.green
end
Expand Down
1 change: 1 addition & 0 deletions config/direnv/config.toml
2 changes: 1 addition & 1 deletion config/direnv/direnv.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[whitelist]
prefix = [ "/Volumes/Workspace/achievemore/" ]
prefix = [ "~/projetos/achievemore/" ]

[global]
load_dotenv = true
96 changes: 63 additions & 33 deletions config/fish/completions/_git-forgit
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
#compdef git-forgit
#compdef git-forgit -p forgit::*
#description Utility tool for using git interactively
#
# forgit completions for zsh
#
# Place this file in your $fpath (e.g. /usr/share/zsh/site-functions) to enable
# tab completions for forgit as a git subcommmand. When using forgit as a shell
# plugin, additionally source completions/git-forgit.zsh after
# forgit.plugin.zsh to enable tab completion for shell functions and aliases.
# tab completions for forgit.

_git-branches() {
_alternative "branches:branchname:($(git branch -a --format '%(refname:short)'))"
Expand Down Expand Up @@ -37,22 +35,26 @@ _git-staged() {
_alternative "files:filename:($(git diff --name-only --staged))"
}

_git-forgit-reflog() {
declare -a cmds
cmds=('expire:prune old reflog entries' 'delete:delete entries from reflog' 'show:show log of ref' 'exists:check whether a ref has a reflog')
_alternative 'cmds:: _describe -t cmds cmd cmds' 'refs:: __git_references'
}

_git-forgit() {
local subcommand cword cmd
local subcommand cmd
subcommand="${words[1]}"
if [[ "$subcommand" != "forgit" ]]; then
if [[ "$subcommand" != "forgit"* ]]; then
# Forgit is obviously called via a git alias. Get the original
# aliased subcommand and proceed as if it was the previous word.
cmd=$(git config --get "alias.$subcommand" | cut -d ' ' -f 2)
cword=$((CURRENT + 1))
else
cword=$CURRENT
cmd=${words[2]}
# The last word is the relevant command
cmd=${words[(( ${#words} - 1 ))]}
fi

case ${cword} in
1) ;;
2)

case ${cmd} in
forgit)
local -a subcommands
subcommands=(
'add:git add selector'
Expand All @@ -69,6 +71,7 @@ _git-forgit() {
'fixup:git fixup'
'ignore:git ignore generator'
'log:git commit viewer'
'reflog:git reflog viewer'
'rebase:git rebase'
'reset_head:git reset HEAD (unstage) selector'
'revert_commit:git revert commit selector'
Expand All @@ -77,25 +80,52 @@ _git-forgit() {
)
_describe -t commands 'git forgit' subcommands
;;
*)
case ${cmd} in
add) _git-add ;;
branch_delete) _git-branches ;;
checkout_branch) _git-branches ;;
checkout_commit) __git_recent_commits ;;
checkout_file) _git-checkout-file ;;
checkout_tag) __git_tags ;;
cherry_pick) _git-cherry-pick ;;
cherry_pick_from_branch) _git-branches ;;
clean) _git-clean ;;
diff) _git-forgit-diff ;;
fixup) __git_branch_names ;;
log) _git-log ;;
rebase) _git-rebase ;;
reset_head) _git-staged ;;
revert_commit) __git_recent_commits ;;
stash_show) _git-stash-show ;;
esac
;;
add) _git-add ;;
branch_delete) _git-branches ;;
checkout_branch) _git-branches ;;
checkout_commit) __git_recent_commits ;;
checkout_file) _git-checkout-file ;;
checkout_tag) __git_tags ;;
cherry_pick) _git-cherry-pick ;;
cherry_pick_from_branch) _git-branches ;;
clean) _git-clean ;;
diff) _git-forgit-diff ;;
fixup) __git_branch_names ;;
log) _git-log ;;
reflog) _git-forgit-reflog ;;
rebase) _git-rebase ;;
reset_head) _git-staged ;;
revert_commit) __git_recent_commits ;;
stash_show) _git-stash-show ;;
esac
}

# We're reusing existing completion functions, so load those first
# if not already loaded and check if completion function exists afterwards.
(( $+functions[_git-add] )) || _git
(( $+functions[_git-add] )) || return 1
# Completions for forgit plugin shell functions (also works for aliases)
compdef _git-add forgit::add
compdef _git-branches forgit::branch::delete
compdef _git-branches forgit::checkout::branch
compdef __git_recent_commits forgit::checkout::commit
compdef _git-checkout-file forgit::checkout::file
compdef __git_tags forgit::checkout::tag
compdef _git-cherry-pick forgit::cherry::pick
compdef _git-branches forgit::cherry::pick::from::branch
compdef _git-clean forgit::clean
compdef _git-forgit-diff forgit::diff
compdef __git_branch_names forgit::fixup
compdef _git-log forgit::log
compdef _git-reflog forgit::reflog
compdef _git-rebase forgit::rebase
compdef _git-staged forgit::reset::head
compdef __git_recent_commits forgit::revert::commit
compdef _git-stash-show forgit::stash::show

# this is the case of calling the command and pressing tab
# the very first time of a shell session, we have to manually
# call the dispatch function
if [[ $funcstack[1] == "_git-forgit" ]]; then
_git-forgit "$@"
fi
16 changes: 0 additions & 16 deletions config/fish/completions/aws.fish

This file was deleted.

2 changes: 2 additions & 0 deletions config/fish/completions/direnv.fish
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# These completions are from https://github.com/halostatue/fish-direnv

complete --erase --command direnv

set -l file_commands allow permit grant block deny revoke edit
Expand Down
Loading