Add a few fixes for devcontainers and linux
This commit is contained in:
parent
296bdd6fe5
commit
9077461ea8
@ -13,3 +13,7 @@
|
||||
# Fingerprints: MD5:fa:dd:77:ed:5b:b8:4b:f5:86:c9:28:fe:75:4d:33:4c
|
||||
# SHA256:IySx4YGOxmVOMHnJqNvLdy+vuaBE4KqR1zlapSyFbA0
|
||||
61B8FC9F096AE88D04C2EBA74AF0325D80E0C4D2 0
|
||||
# Ed25519 key added on: 2025-07-09 15:49:46
|
||||
# Fingerprints: MD5:31:9c:2e:d7:59:0f:e8:95:02:0d:1a:ac:ca:22:1d:a9
|
||||
# SHA256:LvwWwJk//kItoCjyyJz7BH1M9Op1YhoNGUn7BqmlhjM
|
||||
2324982E438AC579625F77B541528FCBCE05B6B6 0
|
||||
|
||||
2
nvim/ftplugin/bash.lua
Normal file
2
nvim/ftplugin/bash.lua
Normal file
@ -0,0 +1,2 @@
|
||||
vim.bo.shiftwidth = 2
|
||||
vim.bo.expandtab = true
|
||||
2
nvim/ftplugin/sh.lua
Normal file
2
nvim/ftplugin/sh.lua
Normal file
@ -0,0 +1,2 @@
|
||||
vim.bo.shiftwidth = 2
|
||||
vim.bo.expandtab = true
|
||||
2
setup.sh
2
setup.sh
@ -18,6 +18,6 @@ done
|
||||
|
||||
zshfiles=("zshenv" "zprofile" "zshrc")
|
||||
for file in "${zshfiles[@]}"; do
|
||||
if [[ -a "$HOME/.$file" ]]; then continue; fi
|
||||
if [[ -a "$HOME/.$file" && $* != *--force* ]]; then continue; fi
|
||||
ln -sfv "$SCRIPTPATH/zsh/$file" "$HOME/.$file"
|
||||
done
|
||||
|
||||
@ -56,14 +56,17 @@ function random_string() {
|
||||
}
|
||||
|
||||
# devcontainer aliases
|
||||
function devcup() {
|
||||
function devconbuild() {
|
||||
devcontainer build --workspace-folder .
|
||||
}
|
||||
function devconup() {
|
||||
devcontainer up --workspace-folder .
|
||||
}
|
||||
function devcexec() {
|
||||
function devconexec() {
|
||||
devcontainer exec --workspace-folder . $1
|
||||
}
|
||||
function devcshell() {
|
||||
devcexec /usr/bin/zsh
|
||||
function devconshell() {
|
||||
devconexec /usr/bin/zsh
|
||||
}
|
||||
|
||||
# Dotfile update command(s)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user