1
0
mirror of https://github.com/robbyrussell/oh-my-zsh.git synced 2026-02-13 12:50:58 +01:00

add dxcbash custom function

This commit is contained in:
Arsenii Liubogashchinskii
2024-05-04 22:17:39 +08:00
parent 4de8d5d4a3
commit ae008c0a64
2 changed files with 5 additions and 3 deletions

View File

@@ -41,6 +41,7 @@ alias dxc='docker container exec'
alias dxcit='docker container exec -it'
dxcsh() { docker exec -it "$@" /bin/sh }
dxcbash() { docker exec -it "$@" /bin/bash }
if (( ! $+commands[docker] )); then
return