summaryrefslogtreecommitdiff
path: root/shell-scripts
diff options
context:
space:
mode:
authorMike Vink <mike.vink@stater.nl>2023-06-06 17:18:34 +0000
committerMike Vink <mike.vink@stater.nl>2023-06-06 17:20:59 +0000
commitfb4d06621895168c771dcf018067e4449aaa5746 (patch)
treeb6b758b4cdec54733d5efe3f7c04a814d9f03a76 /shell-scripts
parentd9e0fa25f5325453ce30d3bac90786bd7d204fdb (diff)
add omnisharp lsp
I basically checked which lsp command neovim's great lspconfig repositoriy used and tried it here. Seems to work great with kakoune during first moments.
Diffstat (limited to 'shell-scripts')
-rwxr-xr-xshell-scripts/kakup8
-rwxr-xr-xshell-scripts/nixup8
2 files changed, 9 insertions, 7 deletions
diff --git a/shell-scripts/kakup b/shell-scripts/kakup
index bb4a051..1512ad5 100755
--- a/shell-scripts/kakup
+++ b/shell-scripts/kakup
@@ -11,16 +11,16 @@ session-or-client() {
export client=kakc@$name
tmux has-session -t $server || {
- tmux new -d -s $server -n $server bash -c "[[ -f .envrc ]] && eval \"$(direnv export bash)\"; { kak -s $name -d & }; tmux wait -S $name; wait"
- tmux wait $name
- }
+ tmux new -d -s $server -n $server bash -c '[[ -f .envrc ]] && eval "$(direnv export bash)"; { kak -s '$name' -d & }; tmux wait -S '$name'; wait'
+ tmux wait "$name"
+ }
if [[ -z $TMUX ]]; then
tmux has-session -t $client || tmux new -d -s $client -n $client kak -c $name
else
tmux new-window -n $client kak -c $name
fi
popd
- } </dev/stdin >/dev/null 2>&1
+ } </dev/stdin >debug 2>&1
echo $client
}
diff --git a/shell-scripts/nixup b/shell-scripts/nixup
index 1270a89..c0f43a0 100755
--- a/shell-scripts/nixup
+++ b/shell-scripts/nixup
@@ -65,10 +65,12 @@ EOF
fi
docker run --volumes-from=nix-data-${USER} --rm -it \
-v /var/run/docker.sock:/var/run/docker.sock \
+ -v /etc/kube:/etc/kube \
+ -v /etc/ssl/certs/ca-bundle.crt:/etc/ssl/certs/ca-bundle.crt \
-v /etc/ssl/certs/ca-bundle.crt:/etc/ssl/certs/ca-certificates.crt \
- -e GIT_SSL_CAINFO=/etc/ssl/certs/ca-certificates.crt \
- -e NIX_SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt \
- -e SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt \
+ -e GIT_SSL_CAINFO=/etc/ssl/certs/ca-bundle.crt \
+ -e NIX_SSL_CERT_FILE=/etc/ssl/certs/ca-bundle.crt \
+ -e SSL_CERT_FILE=/etc/ssl/certs/ca-bundle.crt \
-e no_proxy=$no_proxy \
-e http_proxy=$http_proxy \
-e https_proxy=$http_proxy \