Set line endings to lf for .sh

This commit is contained in:
Zackarias Montell
2026-01-27 12:38:11 +01:00
parent 267ac0e430
commit d4ef839a07
3 changed files with 30 additions and 2 deletions

View File

@@ -17,6 +17,26 @@ Set-Alias -Name python3 -Value python
# Functions
function d-up {
docker compose up --build -d
}
function d-bash {
docker exec -it "$1" /bin/bash
}
function d-down {
docker compose down -v
}
function d-down-up {
d-down
d-up
}
function d-logs {
docker compose logs -f -t
}
function d-ps {
docker compose ps -a
}
function cdli {
Set-Location "C:\repos\litium"
}

View File

@@ -64,3 +64,10 @@ vim.opt.scrolloff = 10
-- instead raise a dialog asking if you wish to save the current file(s)
-- See `:help 'confirm'`
vim.opt.confirm = true
-- set LF instead of CRLF
vim.opt.fileformats = { 'unix', 'dos' }
vim.api.nvim_create_autocmd({ 'BufRead', 'BufNewFile' }, {
pattern = '*.sh',
command = 'setlocal ff=unix',
})

View File

@@ -157,7 +157,8 @@ $packages = @(
"Python.Python.3.10", # isort
"JernejSimoncic.Wget", # nvim
"7zip.7zip" # nvim
"rustlang.rustup"
"rustlang.rustup",
"Mozilla.Firefox"
)
$ExtraPackages = @(
"mRemoteNG.mRemoteNG",
@@ -236,7 +237,7 @@ if ($Flags.FontsEnabled)
Set-Location ~\fonts | Out-Null
unzip JetBrainsMono.zip
Remove-Item JetBrainsMono.zip
$FontsPath = "~\fonts"
$FontsPath = "$HOME\fonts"
$shell = New-Object -ComObject Shell.Application
$fonts = $shell.Namespace(0x14)