mirror of
https://github.com/DictXiong/dotfiles.git
synced 2025-04-24 09:36:59 +08:00
dogo: $DFS
This commit is contained in:
parent
412655d436
commit
f2b4faacee
|
@ -26,5 +26,5 @@ if [[ -z "$CONTAINER" ]]; then
|
|||
fmt_fatal "container not found"
|
||||
else
|
||||
echo "--> ${CONTAINER_META[@]}"
|
||||
$SUDO docker exec -it $CONTAINER sh -c 'if [ -x "$(command -v zsh)" ]; then echo "--> zsh"; zsh; elif [ -x "$(command -v bash)" ]; then echo "--> bash"; bash; else echo "--> sh"; sh; fi'
|
||||
$SUDO docker exec -it $CONTAINER sh -c 'export DFS="bash <(curl dfs.beardic.cn) -a"; if [ -x "$(command -v zsh)" ]; then echo "--> zsh"; unset DFS; zsh; elif [ -x "$(command -v bash)" ]; then echo "--> bash"; bash; else echo "--> sh"; sh; fi'
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue
Block a user