mirror of
https://github.com/frebib/dotfiles.git
synced 2024-06-14 12:57:23 +00:00
Ensure drsh starts a shell by overwriting entrypoint
This commit is contained in:
parent
35226c70f4
commit
c4623a8622
2
aliases
2
aliases
@ -159,7 +159,7 @@ alias drm-stopped='docker container prune'
|
||||
alias drmi-untag='docker image prune'
|
||||
alias dprune='docker system prune -f'
|
||||
alias dsh='_CMD=dsh _dsh exec'
|
||||
alias drsh='_CMD=drsh _dsh run --rm'
|
||||
alias drsh='_CMD=drsh _dsh run --rm --entrypoint='
|
||||
_dsh() {
|
||||
if [ $# -lt 2 ]; then
|
||||
echo "Usage: ${_CMD:-$0} [user@]container [program [args]]" >&2
|
||||
|
Loading…
Reference in New Issue
Block a user