Last active
October 1, 2024 12:10
-
-
Save ajdinmore/70e92814cac7240d336c893c72065524 to your computer and use it in GitHub Desktop.
Bash Aliases
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/bin/bash | |
function kt { | |
(&>/dev/null kate "$@" & exit) | |
} | |
function dolp { | |
(&>/dev/null dolphin "${@:-.}" & exit) | |
} | |
alias up='docker compose up' | |
alias dstopall='docker ps --format="{{.Names}}" | xargs docker stop' | |
alias drun='docker run --rm -itv $(pwd):/app --workdir /app' | |
alias drunme='drun -u $(id -u):$(id -g)' | |
alias composer='drunme -v ~/.composer:/composer ajdinmore/php:8.3-dev composer' | |
alias php='drunme ajdinmore/php:8.3-dev php' | |
#alias npm='drunme node npm' | |
#alias npx='drunme node npx' | |
alias flush-dns='sudo resolvectl flush-caches' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment