about summary refs log tree commit diff
path: root/configs/shared/zsh/functions.zsh
diff options
context:
space:
mode:
Diffstat (limited to 'configs/shared/zsh/functions.zsh')
-rw-r--r--configs/shared/zsh/functions.zsh12
1 files changed, 3 insertions, 9 deletions
diff --git a/configs/shared/zsh/functions.zsh b/configs/shared/zsh/functions.zsh
index 4c395897d660..b72ca582d639 100644
--- a/configs/shared/zsh/functions.zsh
+++ b/configs/shared/zsh/functions.zsh
@@ -104,15 +104,9 @@ dkcsh() {
 }
 
 dkish() {
-  # Runs a Docker container with `/usr/bin/env bash`.
-  # `dkish` stands for DocKer Image SHell.
-  # Note: This defers from `dksh`, which accepts a container instead of an
-  # image.
-  # Usage: dkrit <container_name> [command]
-  image=$1
-  cmd=${2-/bin/bash}
-
-  docker run -it "$image" "$cmd"
+  # Runs a Docker container interactively
+  # Usage: dkrit <container_name> <command> [...args]
+  docker run -it $@
 }
 
 # Emacs