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]}"
|
||||
|
||||
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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -1 +1,5 @@
|
|||
syntax on
|
||||
|
||||
set number
|
||||
set encoding=utf-8
|
||||
set textwidth=80
|
||||
|
|
18
.gitconfig
18
.gitconfig
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue