mirror of
https://github.com/Crocmagnon/dotfiles.git
synced 2024-11-22 06:28:08 +01:00
Merge branch 'master' of ssh://git.augendre.info:23730/gaugendre/dotfiles
This commit is contained in:
commit
93c51bf508
9 changed files with 138 additions and 6 deletions
|
@ -4,4 +4,4 @@ evanlucas/fish-kubectl-completions
|
|||
franciscolourenco/done
|
||||
jorgebucaran/autopair.fish
|
||||
PatrickF1/fzf.fish
|
||||
IlanCosman/tide
|
||||
IlanCosman/tide@v5
|
||||
|
|
|
@ -20,6 +20,9 @@ set -gx GITLABBER_CLONE_METHOD ssh
|
|||
set -gx GITLABBER_GIT_CONCURRENCY 10
|
||||
set -gx PYPI_USERNAME __token__
|
||||
set -gx PYPI_TOKEN {{ (bitwardenFields "item" "PyPi").token.value | quote }}
|
||||
set -gx POETRY_PYPI_TOKEN_PYPI $PYPI_TOKEN
|
||||
set -gx POETRY_HTTP_BASIC_PYPI_USERNAME $PYPI_USERNAME
|
||||
set -gx POETRY_HTTP_BASIC_PYPI_PASSWORD $PYPI_TOKEN
|
||||
|
||||
set -gx GITEA_TOKEN {{ (bitwardenFields "item" "git.augendre.info").fish_config_token.value | quote }}
|
||||
|
||||
|
@ -44,7 +47,7 @@ set -gx LIBRARY_PATH $LIBRARY_PATH /usr/local/opt/openssl/lib/
|
|||
set -gx EDITOR vim
|
||||
set -gx DJANGOPROJECT_DATA_DIR $HOME/.djangoproject
|
||||
|
||||
set -g tide_right_prompt_items status cmd_duration context jobs virtual_env rustc go kubectl
|
||||
#set -g tide_right_prompt_items status cmd_duration context jobs virtual_env rustc go kubectl
|
||||
|
||||
direnv hook fish | source
|
||||
alias wg "sudo wg"
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
kdjango.fish
|
||||
|
9
dot_config/fish/private_functions/chezmoiapply.fish
Normal file
9
dot_config/fish/private_functions/chezmoiapply.fish
Normal file
|
@ -0,0 +1,9 @@
|
|||
function chezmoiapply
|
||||
if not bw login --check
|
||||
set -x BW_SESSION (bw login --raw)
|
||||
end
|
||||
if not bw unlock --check
|
||||
set -x BW_SESSION (bw unlock --raw)
|
||||
end
|
||||
chezmoi apply
|
||||
end
|
9
dot_config/fish/private_functions/chezmoiupdate.fish
Normal file
9
dot_config/fish/private_functions/chezmoiupdate.fish
Normal file
|
@ -0,0 +1,9 @@
|
|||
function chezmoiupdate
|
||||
if not bw login --check
|
||||
set -x BW_SESSION (bw login --raw)
|
||||
end
|
||||
if not bw unlock --check
|
||||
set -x BW_SESSION (bw unlock --raw)
|
||||
end
|
||||
chezmoi update
|
||||
end
|
3
dot_config/fish/private_functions/kdjango.fish
Normal file
3
dot_config/fish/private_functions/kdjango.fish
Normal file
|
@ -0,0 +1,3 @@
|
|||
function kdjango
|
||||
kubectl django $argv
|
||||
end
|
|
@ -1,4 +1,3 @@
|
|||
# Defined interactively
|
||||
function kbash
|
||||
kubectl exec $argv -it -- bash
|
||||
kubectl bash $argv
|
||||
end
|
||||
|
|
9
dot_config/fish/private_functions/upgrade.fish
Normal file
9
dot_config/fish/private_functions/upgrade.fish
Normal file
|
@ -0,0 +1,9 @@
|
|||
function upgrade --wraps=topgrade
|
||||
if not bw login --check
|
||||
set -x BW_SESSION (bw login --raw)
|
||||
end
|
||||
if not bw unlock --check
|
||||
set -x BW_SESSION (bw unlock --raw)
|
||||
end
|
||||
topgrade
|
||||
end
|
102
dot_config/topgrade.toml
Normal file
102
dot_config/topgrade.toml
Normal file
|
@ -0,0 +1,102 @@
|
|||
# Don't ask for confirmations
|
||||
#assume_yes = true
|
||||
|
||||
# Disable specific steps - same options as the command line flag
|
||||
disable = ["containers", "gem"]
|
||||
|
||||
# Ignore failures for these steps
|
||||
#ignore_failures = ["powershell"]
|
||||
|
||||
# Run specific steps - same options as the command line flag
|
||||
#only = ["system", "emacs"]
|
||||
|
||||
# Do not ask to retry failed steps (default: false)
|
||||
#no_retry = true
|
||||
|
||||
# Run inside tmux
|
||||
#run_in_tmux = true
|
||||
|
||||
# List of remote machines with Topgrade installed on them
|
||||
#remote_topgrades = ["toothless", "pi", "parnas"]
|
||||
|
||||
# Arguments to pass SSH when upgrading remote systems
|
||||
#ssh_arguments = "-o ConnectTimeout=2"
|
||||
|
||||
# Path to Topgrade executable on remote machines
|
||||
#remote_topgrade_path = ".cargo/bin/topgrade"
|
||||
|
||||
# Arguments to pass tmux when pulling Repositories
|
||||
#tmux_arguments = "-S /var/tmux.sock"
|
||||
|
||||
# Do not set the terminal title
|
||||
#set_title = false
|
||||
|
||||
# Display the time in step titles
|
||||
# display_time = true
|
||||
|
||||
# Cleanup temporary or old files
|
||||
#cleanup = true
|
||||
|
||||
[git]
|
||||
#max_concurrency = 5
|
||||
# Additional git repositories to pull
|
||||
#repos = [
|
||||
# "~/src/*/",
|
||||
# "~/.config/something"
|
||||
#]
|
||||
|
||||
# Don't pull the predefined git repos
|
||||
#pull_predefined = false
|
||||
|
||||
# Arguments to pass Git when pulling Repositories
|
||||
#arguments = "--rebase --autostash"
|
||||
|
||||
[composer]
|
||||
#self_update = true
|
||||
|
||||
# Commands to run before anything
|
||||
[pre_commands]
|
||||
#"Emacs Snapshot" = "rm -rf ~/.emacs.d/elpa.bak && cp -rl ~/.emacs.d/elpa ~/.emacs.d/elpa.bak"
|
||||
|
||||
# Custom commands
|
||||
[commands]
|
||||
#"Python Environment" = "~/dev/.env/bin/pip install -i https://pypi.python.org/simple -U --upgrade-strategy eager jupyter"
|
||||
|
||||
[brew]
|
||||
#greedy_cask = true
|
||||
|
||||
[linux]
|
||||
# Arch Package Manager to use. Allowed values: autodetect, trizen, paru, yay, pikaur, pacman.
|
||||
#arch_package_manager = "pacman"
|
||||
# Arguments to pass yay (or paru) when updating packages
|
||||
#yay_arguments = "--nodevel"
|
||||
#show_arch_news = true
|
||||
#trizen_arguments = "--devel"
|
||||
#pikaur_arguments = ""
|
||||
#enable_tlmgr = true
|
||||
#emerge_sync_flags = "-q"
|
||||
#emerge_update_flags = "-uDNa --with-bdeps=y world"
|
||||
#redhat_distro_sync = false
|
||||
#rpm_ostree = false
|
||||
|
||||
[windows]
|
||||
# Manually select Windows updates
|
||||
#accept_all_updates = false
|
||||
#open_remotes_in_new_terminal = true
|
||||
|
||||
# Causes Topgrade to rename itself during the run to allow package managers
|
||||
# to upgrade it. Use this only if you installed Topgrade by using a package
|
||||
# manager such as Scoop to Cargo
|
||||
#self_rename = true
|
||||
|
||||
[npm]
|
||||
# Use sudo if the NPM directory isn't owned by the current user
|
||||
#use_sudo = true
|
||||
|
||||
[firmware]
|
||||
# Offer to update firmware; if false just check for and display available updates
|
||||
#upgrade = true
|
||||
|
||||
[flatpak]
|
||||
# Use sudo for updating the system-wide installation
|
||||
#use_sudo = true
|
Loading…
Reference in a new issue