mirror of
https://github.com/Mastermindzh/dotfiles.git
synced 2025-07-27 12:43:08 +02:00
replaced powerline with oh-my-posh, new deps and alias fixes
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
# useful docker commands
|
||||
alias stop-dockers='docker stop $(docker ps -aq)'
|
||||
alias stop-dockers='if [ $(docker ps -aq | wc -l) != 0 ]; then docker stop $(docker ps -aq); fi'
|
||||
alias docker-clean-containers='docker container prune -f --filter "until=48h"'
|
||||
alias docker-clean-images='docker image prune -a -f --filter "until=48h"'
|
||||
alias docker-clean-volumes='docker volume prune -f --filter "label!=keep"'
|
||||
|
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
alias clean-node-modules='find . -name "node_modules" -type d -print0 |xargs -0 rm -r --'
|
||||
alias clean-node-modules='find . -not -path "*/.*" -name "node_modules" -type d -print0 | xargs -0 rm -rf'
|
||||
alias organize-package-json='npx format-package -w && npx sort-package-json'
|
||||
|
Reference in New Issue
Block a user