updates config files

This commit is contained in:
adbagio 2024-05-15 21:38:54 -04:00
parent 1e9aaa8d3f
commit da3c196028
No known key found for this signature in database
GPG key ID: 0AE37F9649850573
5 changed files with 35 additions and 24 deletions

View file

@ -126,9 +126,9 @@ __main() {
local minor="${BASH_VERSINFO[1]}"
if ((major > 4)) || { ((major == 4)) && ((minor >= 1)); }; then
source <(/home/oliver/.cargo/bin/starship init bash --print-full-init)
source <(/home/$USER/.cargo/bin/starship init bash --print-full-init)
else
source /dev/stdin <<<"$(/home/oliver/.cargo/bin/starship init bash --print-full-init)"
source /dev/stdin <<<"$(/home/$USER/.cargo/bin/starship init bash --print-full-init)"
fi
}
__main

View file

@ -11,7 +11,16 @@ alias clc = cargo-install-update install-update -l
alias cua = cargo-install-update install-update --all
# update functions
def gdup [] { ls | get name | each { |dir| cd $dir; git pull; cd .. } }
def gdup [] {
ls | get name | each { |dir|
cd $dir
print (pwd)
git pull
cd ..
print "\n"
}
}
def upin [] {
echo "Start apt, cargo and rustup upgrade:\n"
sudo apt-get update

View file

@ -1,18 +1,6 @@
-- Set options
require("setopts")
-- Install plugins
require("lazy-init")
-- Custom keybindings
require("mappings")
-- Other custom settings
require("misc")
indent_type = "Spaces"
indent_width = 4
column_width = 100
quote_style = "AutoPreferDouble"
call_parentheses = "NoSingleTable"
local opt = vim.opt
-- Config
opt.number = true
opt.relativenumber = true
opt.mouse = 'a'

View file

@ -1 +1,5 @@
syntax on
set number
set encoding=utf-8
set textwidth=80

View file

@ -1,14 +1,24 @@
[color]
ui = true
[merge]
tool = nvim
[mergetool "nvim"]
cmd = nvim -f -c \"DiffviewOpen\"
[mergetool]
prompt = true
[init]
defaultBranch = main
[user]
signingkey = 9678EEC070B135AC5CD98ABD0AE37F9649850573
name = adbagio
email = h759bkyo4@mozmail.com
[core]
editor = codium --wait
[pull]
rebase = true
[push]
autoSetupRemote = true
[format]
signoff = true
[commit]
gpgsign = true