updates config files
This commit is contained in:
parent
1e9aaa8d3f
commit
da3c196028
4
.bashrc
4
.bashrc
|
@ -126,9 +126,9 @@ __main() {
|
||||||
local minor="${BASH_VERSINFO[1]}"
|
local minor="${BASH_VERSINFO[1]}"
|
||||||
|
|
||||||
if ((major > 4)) || { ((major == 4)) && ((minor >= 1)); }; then
|
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
|
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
|
fi
|
||||||
}
|
}
|
||||||
__main
|
__main
|
||||||
|
|
|
@ -11,7 +11,16 @@ alias clc = cargo-install-update install-update -l
|
||||||
alias cua = cargo-install-update install-update --all
|
alias cua = cargo-install-update install-update --all
|
||||||
|
|
||||||
# update functions
|
# 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 [] {
|
def upin [] {
|
||||||
echo "Start apt, cargo and rustup upgrade:\n"
|
echo "Start apt, cargo and rustup upgrade:\n"
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
|
|
|
@ -1,18 +1,6 @@
|
||||||
-- Set options
|
local opt = vim.opt
|
||||||
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"
|
|
||||||
|
|
||||||
|
-- Config
|
||||||
|
opt.number = true
|
||||||
|
opt.relativenumber = true
|
||||||
|
opt.mouse = 'a'
|
||||||
|
|
|
@ -1 +1,5 @@
|
||||||
|
syntax on
|
||||||
|
|
||||||
|
set number
|
||||||
|
set encoding=utf-8
|
||||||
set textwidth=80
|
set textwidth=80
|
||||||
|
|
18
.gitconfig
18
.gitconfig
|
@ -1,14 +1,24 @@
|
||||||
[color]
|
[color]
|
||||||
ui = true
|
ui = true
|
||||||
|
|
||||||
[merge]
|
[merge]
|
||||||
tool = nvim
|
tool = nvim
|
||||||
|
|
||||||
[mergetool "nvim"]
|
[mergetool "nvim"]
|
||||||
cmd = nvim -f -c \"DiffviewOpen\"
|
cmd = nvim -f -c \"DiffviewOpen\"
|
||||||
|
|
||||||
[mergetool]
|
[mergetool]
|
||||||
prompt = true
|
prompt = true
|
||||||
|
|
||||||
[init]
|
[init]
|
||||||
defaultBranch = main
|
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
|
||||||
|
|
Loading…
Reference in a new issue