1
0
Fork 0
mirror of https://codeberg.org/Mo8it/dotfiles.git synced 2024-12-30 20:03:44 +00:00

Add detach window

This commit is contained in:
Mo 2022-06-09 14:12:35 +02:00
parent 6de9d7926e
commit 4d42a05e04
3 changed files with 5 additions and 3 deletions

View file

@ -20,4 +20,6 @@ map ctrl+shift+i previous_tab
map ctrl+shift+enter new_window_with_cwd
map ctrl+shift+t new_tab_with_cwd
map ctrl+shift+m detach_window ask
enabled_layouts tall,fat,grid,horizontal,vertical

View file

@ -60,7 +60,7 @@ def cargo_packages(output_dir):
def npm_packages(output_dir):
out = cap_run_in_build("npm list --json -g")
out = cap_run_in_build("npm list --json --location=global")
json_out = json.loads(out)
deps = json_out["dependencies"].keys()

View file

@ -116,9 +116,9 @@ def update_npm():
"""
podman exec -it build bash -c 'dnf install -y npm'
podman exec -it build bash -c 'npm config set prefix /root/.npm-global'
podman exec -it build bash -c 'npm install -g npm ...'
podman exec -it build bash -c 'npm install --location=global npm ...'
"""
run_in_build("npm update -g")
run_in_build("npm update --location=global")
def main(input):